[oe] Wrong crosscompilers path after rebuild from PSTAGE + fix

Andrea Adami andrea.adami at gmail.com
Fri Aug 21 09:36:25 UTC 2009


REPOST under right subject:

Ok, the issue is the staging-* packages are created without BASE_PACKAGE_ARCH
This patch (thx ReaperOfSouls) seems to fix it:


diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 33acb90..3b97f59 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -284,7 +284,7 @@ populate_staging_postamble () {
               if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
                       exit $exitcode
               fi
-               stage-manager -p ${CROSS_DIR} -c
${DEPLOY_DIR_PSTAGE}/stamp-cache-cross -u -d
${PSTAGE_TMPDIR_STAGE}/cross
+               stage-manager -p ${CROSS_DIR} -c
${DEPLOY_DIR_PSTAGE}/stamp-cache-cross -u -d
${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}
               if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
                       exit $exitcode
               fi



Andrea




More information about the Openembedded-devel mailing list