[oe-commits] Richard Purdie : bitbake.conf: Build MACHINE_ARCH from BASE_PACKAGE_ARCH, not HOST_ARCH fixing some multimachine corner cases

git version control git at git.openembedded.org
Wed Nov 11 21:09:16 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8777759b209f8b6006243adf356fbdc4cefe71a1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8777759b209f8b6006243adf356fbdc4cefe71a1

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Wed Nov 11 21:04:21 2009 +0000

bitbake.conf: Build MACHINE_ARCH from BASE_PACKAGE_ARCH, not HOST_ARCH fixing some multimachine corner cases

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>

---

 conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index e74b63e..120fbbe 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}"





More information about the Openembedded-commits mailing list