[oe-commits] Khem Raj : staging.bbclass: Use sysroot_stage_dir instead of autotools_stage_dir

git version control git at git.openembedded.org
Fri Sep 24 18:48:40 UTC 2010


Module: openembedded.git
Branch: master
Commit: af5d0dbecc11ada0d3255da195b4674dd6e08782
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af5d0dbecc11ada0d3255da195b4674dd6e08782

Author: Khem Raj <raj.khem at gmail.com>
Date:   Fri Sep 24 11:27:25 2010 -0700

staging.bbclass: Use sysroot_stage_dir instead of autotools_stage_dir

Some packages like package-stagemanager-native dont use autoools
and autotools_stage_dir can not be found for such recipes.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Chris Larson <chris_larson at mentor.com>

---

 classes/staging.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/staging.bbclass b/classes/staging.bbclass
index b871226..303f74c 100644
--- a/classes/staging.bbclass
+++ b/classes/staging.bbclass
@@ -73,7 +73,7 @@ sysroot_stage_dirs() {
 		sysroot_stage_dir $from${sysconfdir} $to${STAGING_DIR_HOST}${sysconfdir}
 		if [ "${prefix}/lib" != "${libdir}" ]; then
 			# python puts its files in here, make sure they are staged as well
-			autotools_stage_dir $from/${prefix}/lib $to${STAGING_DIR_HOST}${prefix}/lib
+			sysroot_stage_dir $from/${prefix}/lib $to${STAGING_DIR_HOST}${prefix}/lib
 		fi
 	fi
 	if [ -d $from${libdir} ]





More information about the Openembedded-commits mailing list