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
This commit is contained in:
Richard Purdie 2006-11-29 13:55:34 +00:00
parent 9ecd2353a3
commit 34aa4cad3d
1 changed files with 4 additions and 0 deletions

View File

@ -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}"