summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@openembedded.org>2008-10-17 11:36:50 +0200
committerRobert Schuster <thebohemian@openembedded.org>2008-10-22 14:52:09 +0200
commitc4cfa290f4e64299870ef9883aa9d3dd30f0e672 (patch)
tree1740ea00185e70808a5ff61826a319bf585c86ba
parentfacb73755f28d3281f8a0cfd73d95cf638eb3eda (diff)
native.bbclass: Run java_stage if JAVA_NATIVE_STAGE_INSTALL is set.
-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
}