diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-29 13:55:34 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-29 13:55:34 +0000 |
commit | 34aa4cad3de49aaf925a70807e9ccedc81d22d07 (patch) | |
tree | c2200b6504c5a07c709bfbd01e141017753d36db /meta/classes/cross.bbclass | |
parent | 9ecd2353a3c2bdb0856a9d74cdf3669aab9504bf (diff) | |
download | openembedded-core-34aa4cad3de49aaf925a70807e9ccedc81d22d07.tar.gz openembedded-core-34aa4cad3de49aaf925a70807e9ccedc81d22d07.tar.bz2 openembedded-core-34aa4cad3de49aaf925a70807e9ccedc81d22d07.zip |
cross.bbclass: Set PACKAGE_ARCH correctly under inherit cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@981 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r-- | meta/classes/cross.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 09357acbe8..77afb65d0c 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -4,6 +4,10 @@ EXCLUDE_FROM_WORLD = "1" PACKAGES = "" +# Save PACKAGE_ARCH before changing HOST_ARCH +OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} +PACKAGE_ARCH = ${OLD_PACKAGE_ARCH} + HOST_ARCH = "${BUILD_ARCH}" HOST_VENDOR = "${BUILD_VENDOR}" HOST_OS = "${BUILD_OS}" |