summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cross.bbclass7
-rw-r--r--meta/classes/packaged-staging.bbclass2
2 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 89cb3e9569..9dddca127a 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -3,8 +3,11 @@
3EXCLUDE_FROM_WORLD = "1" 3EXCLUDE_FROM_WORLD = "1"
4 4
5# Save PACKAGE_ARCH before changing HOST_ARCH 5# Save PACKAGE_ARCH before changing HOST_ARCH
6OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} 6OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}"
7PACKAGE_ARCH = ${OLD_PACKAGE_ARCH} 7PACKAGE_ARCH = "${OLD_PACKAGE_ARCH}"
8# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it
9OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}"
10BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}"
8 11
9PACKAGES = "" 12PACKAGES = ""
10 13
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index ed94790b1d..3e4dabe872 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -284,7 +284,7 @@ populate_staging_postamble () {
284 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then 284 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
285 exit $exitcode 285 exit $exitcode
286 fi 286 fi
287 stage-manager -p ${CROSS_DIR} -c ${DEPLOY_DIR_PSTAGE}/stamp-cache-cross -u -d ${PSTAGE_TMPDIR_STAGE}/cross 287 stage-manager -p ${CROSS_DIR} -c ${DEPLOY_DIR_PSTAGE}/stamp-cache-cross -u -d ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}
288 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then 288 if [ "$exitcode" != "5" -a "$exitcode" != "0" ]; then
289 exit $exitcode 289 exit $exitcode
290 fi 290 fi