[oe-commits] org.oe.dev autotools, native bbclass: try harder to stage native binaries

koen commit oe at amethyst.openembedded.net
Wed Mar 19 19:41:49 UTC 2008


autotools, native bbclass: try harder to stage native binaries

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

#
# mt diff -rf2f68aafba6de2e0ef114fd7250963b2f1353def -r04060d9bff99c4f4f9077dac1cf372043a7791cb
#
#
#
# patch "classes/autotools.bbclass"
#  from [487624b60f38ddf22ed33a6650fd560273ad87c2]
#    to [aaa33a18c4d011916fbaf542a60cac115cdb6f85]
# 
# patch "classes/native.bbclass"
#  from [f958a86c17270e1239a570fb53ed2b32bf3c3477]
#    to [d85cd50f184e6fc81c02edd676b8f6122af18ede]
#
============================================================
--- classes/autotools.bbclass	487624b60f38ddf22ed33a6650fd560273ad87c2
+++ classes/autotools.bbclass	aaa33a18c4d011916fbaf542a60cac115cdb6f85
@@ -204,6 +204,12 @@ autotools_stage_all() {
 		install -d ${STAGING_DATADIR}/aclocal
 		cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
 	fi
+	
+	if [ "${AUTOTOOLS_NATIVE_STAGE_BINARIES}" = "1"] ; then
+		install -d ${STAGING_BINDIR_NATIVE}
+		cp -fpPR ${STAGE_TEMP}/*bin/* ${STAGING_BINDIR_NATIVE}/
+		cp -fpPR ${STAGE_TEMP}/usr/*bin/* ${STAGING_BINDIR_NATIVE}/
+	fi
 	rm -rf ${STAGE_TEMP}
 }
 
============================================================
--- classes/native.bbclass	f958a86c17270e1239a570fb53ed2b32bf3c3477
+++ classes/native.bbclass	d85cd50f184e6fc81c02edd676b8f6122af18ede
@@ -80,6 +80,7 @@ do_stage () {
 		then
 			oe_runmake install
 		else
+			AUTOTOOLS_NATIVE_STAGE_BINARIES = "1"	
 			autotools_stage_all
 		fi
 	fi






More information about the Openembedded-commits mailing list