[oe] [PATCH] staging.bbclass: Use sysroot_stage_dir instead of autotools_stage_dir

Khem Raj raj.khem at gmail.com
Fri Sep 24 18:28:59 UTC 2010


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>
---
 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} ]
-- 
1.7.0.4





More information about the Openembedded-devel mailing list