diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-11 21:04:21 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-11 21:04:21 +0000 |
commit | 8777759b209f8b6006243adf356fbdc4cefe71a1 (patch) | |
tree | 7d6332bf9381593537fd20ba1c08cd1bfbd0aa46 | |
parent | 25db6767cbf1b00a4e8dbf746d2d16458c3696ea (diff) |
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>
-rw-r--r-- | conf/bitbake.conf | 2 |
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}" |