aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-11 21:04:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-11 21:04:21 +0000
commit8777759b209f8b6006243adf356fbdc4cefe71a1 (patch)
tree7d6332bf9381593537fd20ba1c08cd1bfbd0aa46 /conf
parent25db6767cbf1b00a4e8dbf746d2d16458c3696ea (diff)
downloadopenembedded-8777759b209f8b6006243adf356fbdc4cefe71a1.tar.gz
bitbake.conf: Build MACHINE_ARCH from BASE_PACKAGE_ARCH, not HOST_ARCH fixing some multimachine corner cases
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index e74b63e23e..120fbbe3d6 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -128,7 +128,7 @@ EXEEXT = "${HOST_EXEEXT}"
BASE_PACKAGE_ARCH = "${HOST_ARCH}"
PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
PACKAGE_EXTRA_ARCHS ?= ""
-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}"