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 | |
parent | 9ecd2353a3c2bdb0856a9d74cdf3669aab9504bf (diff) | |
download | poky-34aa4cad3de49aaf925a70807e9ccedc81d22d07.tar.gz |
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')
-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" | |||
4 | 4 | ||
5 | PACKAGES = "" | 5 | PACKAGES = "" |
6 | 6 | ||
7 | # Save PACKAGE_ARCH before changing HOST_ARCH | ||
8 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | ||
9 | PACKAGE_ARCH = ${OLD_PACKAGE_ARCH} | ||
10 | |||
7 | HOST_ARCH = "${BUILD_ARCH}" | 11 | HOST_ARCH = "${BUILD_ARCH}" |
8 | HOST_VENDOR = "${BUILD_VENDOR}" | 12 | HOST_VENDOR = "${BUILD_VENDOR}" |
9 | HOST_OS = "${BUILD_OS}" | 13 | HOST_OS = "${BUILD_OS}" |