From 34aa4cad3de49aaf925a70807e9ccedc81d22d07 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 29 Nov 2006 13:55:34 +0000 Subject: 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 --- meta/classes/cross.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta') diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 09357acbe..77afb65d0 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}" -- cgit v1.2.3