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>
This commit is contained in:
parent
d578d746e6
commit
367db423a6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue