summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-03-11 18:36:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-14 20:46:21 +0000
commit73b27dc6c326c8465944f8b6397dc6b1ef647452 (patch)
tree0bb8d84f497a35204beee2d502223798b04a5423 /meta/conf
parent90b618231e77c96e36d7955815aad2ed85258a23 (diff)
downloadopenembedded-core-73b27dc6c326c8465944f8b6397dc6b1ef647452.tar.gz
openembedded-core-73b27dc6c326c8465944f8b6397dc6b1ef647452.tar.bz2
openembedded-core-73b27dc6c326c8465944f8b6397dc6b1ef647452.tar.xz
openembedded-core-73b27dc6c326c8465944f8b6397dc6b1ef647452.zip
qemux86-64: set qemux86_64 as package arch name
thus allows rpmbuild to generated RPMs with the right architecture. Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index cf99a8124..42b98259f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -93,7 +93,8 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}"
BASE_PACKAGE_ARCH = "${HOST_ARCH}"
PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
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}"
+MACHINE_ARCH_qemux86-64 = "qemux86_64"
+PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
# MACHINE shouldn't be included here as a variable dependency since machine specific
# packages are handled using multimachine
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"