summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-10-22 15:44:46 +0200
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-10-22 15:44:46 +0200
commitddf02a17c1438ee550a1d36fb5b16070c3b08839 (patch)
treec7e86c0a1557eede763b693ebe8ac274da6162e7 /classes/native.bbclass
parentf77c2e4e5955db5903cbe87b8351f58f108373ba (diff)
parent82b18c75ad240f8b4fd5169d3df897615d752d2e (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/native.bbclass')
-rw-r--r--classes/native.bbclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 8f79935040..61048b6b14 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -80,11 +80,14 @@ export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
do_stage () {
if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
then
- if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1" ]
+ if [ "${JAVA_NATIVE_STAGE_INSTALL}" = "1" ]
+ then
+ java_stage
+ elif [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" = "1" ]
then
- oe_runmake install
- else
autotools_stage_all
+ else
+ oe_runmake install
fi
fi
}