summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/cross.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 09357acbe8..3588e2344a 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -2,6 +2,10 @@
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"
+# Save PACKAGE_ARCH before changing HOST_ARCH
+OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
+PACKAGE_ARCH = ${OLD_PACKAGE_ARCH}
+
PACKAGES = ""
HOST_ARCH = "${BUILD_ARCH}"