summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-03-11 18:36:22 +0800
committerSaul Wold <sgw@linux.intel.com>2011-03-14 17:41:46 -0700
commit8797e389c6bd84a20da4cafce1df8568213d3b85 (patch)
tree9570b91dd0c0db6f63fe0e7be63df232f6283447 /meta/conf
parent8f0fc87a18295d54aa3d229a7975722c88abaefe (diff)
downloadpoky-8797e389c6bd84a20da4cafce1df8568213d3b85.tar.gz
qemux86-64: set qemux86_64 as package arch name
thus allows rpmbuild to generated RPMs with the right architecture. (From OE-Core rev: 73b27dc6c326c8465944f8b6397dc6b1ef647452) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 cf99a8124b..42b98259f7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -93,7 +93,8 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}"
93BASE_PACKAGE_ARCH = "${HOST_ARCH}" 93BASE_PACKAGE_ARCH = "${HOST_ARCH}"
94PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" 94PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
95MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" 95MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
96PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}" 96MACHINE_ARCH_qemux86-64 = "qemux86_64"
97PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
97# MACHINE shouldn't be included here as a variable dependency since machine specific 98# MACHINE shouldn't be included here as a variable dependency since machine specific
98# packages are handled using multimachine 99# packages are handled using multimachine
99PACKAGE_ARCHS[vardepsexclude] = "MACHINE" 100PACKAGE_ARCHS[vardepsexclude] = "MACHINE"