summaryrefslogtreecommitdiff
path: root/classes/cross.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-28 13:47:08 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-28 13:47:08 +0000
commit3f470438075ff760f3ccbcb11535b41c8c106dae (patch)
tree908ad363dd3afb1fb4fc487fb9b179ae500e47d4 /classes/cross.bbclass
parent37c95986b3edfe3d67c4857633bf3614285c1cf4 (diff)
cross.bbclass + gcc-package-cross.inc: put the immediate expansion trick in cross.bbclass
Diffstat (limited to 'classes/cross.bbclass')
-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}"