summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 01:01:14 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:22:15 +0100
commit6024456d595dc1ea7421c7dd725982a5d524393f (patch)
tree3ab49ee57537237786701690f43856195e0580b5 /meta
parent3b8b3f7a0b9304151703f8045869948bcfdd5d7e (diff)
downloadopenembedded-core-6024456d595dc1ea7421c7dd725982a5d524393f.tar.gz
openembedded-core-6024456d595dc1ea7421c7dd725982a5d524393f.tar.bz2
openembedded-core-6024456d595dc1ea7421c7dd725982a5d524393f.zip
bitbake.conf: Use BASE_PACKAGE_ARCH as the default, not HOST_ARCH
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a449b51151..a0e62578ec 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -97,7 +97,7 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}"
BASE_PACKAGE_ARCH = "${HOST_ARCH}"
PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
-MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
+MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
MULTIMACH_ARCH = "${PACKAGE_ARCH}"