Patchwork [4/4] qemux86-64: set qemux86_64 as package arch name

login
register
mail settings
Submitter Qing He
Date March 14, 2011, 11:54 a.m.
Message ID <23db1b5c70588abf7a966a02bb02d1687fa65952.1300103431.git.qing.he@intel.com>
Download mbox | patch
Permalink /patch/1383/
State New, archived
Headers show

Comments

Qing He - March 14, 2011, 11:54 a.m.
From: Qing He <qing.he@intel.com>

thus allows rpmbuild to generated RPMs with the right architecture.

Signed-off-by: Qing He <qing.he@intel.com>
---
 meta/conf/bitbake.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index cf99a81..42b9825 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"