diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-19 12:22:08 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-19 12:22:08 +0000 |
commit | df39b9e2c3e0d0284d54904993a53d0e8c788c0c (patch) | |
tree | 9c75453b348db09c0fad228b9a11fd70e5ec1136 /meta/classes/cross.bbclass | |
parent | a566074ef3d690ce21306b5f8636da7ccabb7bf9 (diff) | |
download | poky-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.bbclass | 7 |
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 @@ | |||
3 | EXCLUDE_FROM_WORLD = "1" | 3 | EXCLUDE_FROM_WORLD = "1" |
4 | 4 | ||
5 | # Save PACKAGE_ARCH before changing HOST_ARCH | 5 | # Save PACKAGE_ARCH before changing HOST_ARCH |
6 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | 6 | OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}" |
7 | PACKAGE_ARCH = ${OLD_PACKAGE_ARCH} | 7 | PACKAGE_ARCH = "${OLD_PACKAGE_ARCH}" |
8 | # Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it | ||
9 | OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}" | ||
10 | BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}" | ||
8 | 11 | ||
9 | PACKAGES = "" | 12 | PACKAGES = "" |
10 | 13 | ||