[oe-commits] org.oe.dev native and autotools bbclass: use autotools_stage_all instead of oe_runmake install for staging native packages

koen commit oe at amethyst.openembedded.net
Wed Mar 19 15:27:37 UTC 2008


native and autotools bbclass: use autotools_stage_all instead of oe_runmake install for staging native packages

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 358ee536bc83b766d3a66b4fa27a3fef5012ace8
ViewMTN: http://monotone.openembedded.org/revision/info/358ee536bc83b766d3a66b4fa27a3fef5012ace8
Files:
1
classes/autotools.bbclass
classes/native.bbclass
Diffs:

#
# mt diff -rdb59da0224e075501c878cced16f0fd1a02d1822 -r358ee536bc83b766d3a66b4fa27a3fef5012ace8
#
#
#
# patch "classes/autotools.bbclass"
#  from [2cc639c4f37a3df20c73fcc0b5d06ef03ad73724]
#    to [487624b60f38ddf22ed33a6650fd560273ad87c2]
# 
# patch "classes/native.bbclass"
#  from [c184594947a90b6355b13df0e90a4aedb655f19f]
#    to [f958a86c17270e1239a570fb53ed2b32bf3c3477]
#
============================================================
--- classes/autotools.bbclass	2cc639c4f37a3df20c73fcc0b5d06ef03ad73724
+++ classes/autotools.bbclass	487624b60f38ddf22ed33a6650fd560273ad87c2
@@ -1,5 +1,8 @@ inherit base
 inherit base
 
+# use autotools_stage_all for native packages
+AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
+
 def autotools_dep_prepend(d):
 	import bb;
 
============================================================
--- classes/native.bbclass	c184594947a90b6355b13df0e90a4aedb655f19f
+++ classes/native.bbclass	f958a86c17270e1239a570fb53ed2b32bf3c3477
@@ -76,7 +76,12 @@ do_stage () {
 do_stage () {
 	if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
 	then
-		oe_runmake install
+		if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1"]
+		then
+			oe_runmake install
+		else
+			autotools_stage_all
+		fi
 	fi
 }
 






More information about the Openembedded-commits mailing list