summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-19 12:22:08 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-19 12:22:08 +0000
commitdf39b9e2c3e0d0284d54904993a53d0e8c788c0c (patch)
tree9c75453b348db09c0fad228b9a11fd70e5ec1136 /meta/classes/cross.bbclass
parenta566074ef3d690ce21306b5f8636da7ccabb7bf9 (diff)
downloadpoky-df39b9e2c3e0d0284d54904993a53d0e8c788c0c.tar.gz
cross.bbclass: Preserve BASE_PACKAGE_ARCH variable when chaging HOST_ARCH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4894 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass7
1 files changed, 5 insertions, 2 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