[oe-commits] Robert Schuster : native.bbclass: Remove java specific stuff from do_stage again.

GIT User account git at amethyst.openembedded.net
Thu Mar 12 16:27:27 UTC 2009


Module: openembedded.git
Branch: hrw/poky-merge/add-rpm-packages-support
Commit: a8a23e995d108ecdfc31129941671551c591bc6e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a8a23e995d108ecdfc31129941671551c591bc6e

Author: Robert Schuster <rschus at entw2.(none)>
Date:   Mon Mar  9 11:57:43 2009 +0100

native.bbclass: Remove java specific stuff from do_stage again.

---

 classes/native.bbclass |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/classes/native.bbclass b/classes/native.bbclass
index 4f3856c..69231e0 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -82,14 +82,11 @@ export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
 do_stage () {
 	if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
 	then
-		if [ "${JAVA_NATIVE_STAGE_INSTALL}" = "1" ]
+		if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1" ]
 		then
-			java_stage
-		elif [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" = "1" ]
-		then
-			autotools_stage_all
-		else
 			oe_runmake install
+		else
+			autotools_stage_all
 		fi
 	fi
 }





More information about the Openembedded-commits mailing list