[oe-commits] Robert Schuster : native.bbclass: Run java_stage if JAVA_NATIVE_STAGE_INSTALL is set.
GIT User account
git at amethyst.openembedded.net
Wed Oct 22 12:52:45 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: c4cfa290f4e64299870ef9883aa9d3dd30f0e672
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c4cfa290f4e64299870ef9883aa9d3dd30f0e672
Author: Robert Schuster <thebohemian at openembedded.org>
Date: Fri Oct 17 11:36:50 2008 +0200
native.bbclass: Run java_stage if JAVA_NATIVE_STAGE_INSTALL is set.
---
classes/native.bbclass | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 8f79935..61048b6 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
}
More information about the Openembedded-commits
mailing list