From patchwork Mon Mar 14 11:54:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/4] qemux86-64: set qemux86_64 as package arch name Date: Mon, 14 Mar 2011 11:54:46 -0000 From: Qing He X-Patchwork-Id: 1383 Message-Id: <23db1b5c70588abf7a966a02bb02d1687fa65952.1300103431.git.qing.he@intel.com> To: openembedded-core@lists.openembedded.org From: Qing He thus allows rpmbuild to generated RPMs with the right architecture. Signed-off-by: Qing He --- meta/conf/bitbake.conf | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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"