summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-29 13:55:34 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-29 13:55:34 +0000
commit34aa4cad3de49aaf925a70807e9ccedc81d22d07 (patch)
treec2200b6504c5a07c709bfbd01e141017753d36db /meta/classes
parent9ecd2353a3c2bdb0856a9d74cdf3669aab9504bf (diff)
downloadpoky-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.bbclass4
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
5PACKAGES = "" 5PACKAGES = ""
6 6
7# Save PACKAGE_ARCH before changing HOST_ARCH
8OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
9PACKAGE_ARCH = ${OLD_PACKAGE_ARCH}
10
7HOST_ARCH = "${BUILD_ARCH}" 11HOST_ARCH = "${BUILD_ARCH}"
8HOST_VENDOR = "${BUILD_VENDOR}" 12HOST_VENDOR = "${BUILD_VENDOR}"
9HOST_OS = "${BUILD_OS}" 13HOST_OS = "${BUILD_OS}"