tune-i586: fix hardcoded TUNE_PKGARCH
Use TUNE_FEATURES to determine the setting to TUNE_PKGARCH, which fixes the wrong setting of PACKAGE_ARCH in multilib case. (From OE-Core rev: d8051ce1af7a5a4b72c1f772ed35eff24a4beb6b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
24623d149d
commit
909dd5b306
|
@ -1,5 +1,6 @@
|
|||
DEFAULTTUNE ?= "i586"
|
||||
TUNE_PKGARCH ?= "i586"
|
||||
TUNE_PKGARCH_TMP = "${@bb.utils.contains("TUNE_FEATURES", "m32", "x86", "x86_64", d)}"
|
||||
TUNE_PKGARCH ?= "${@bb.utils.contains("TUNE_FEATURES", "i586", "i586", TUNE_PKGARCH_TMP, d)}"
|
||||
|
||||
require conf/machine/include/ia32/arch-ia32.inc
|
||||
|
||||
|
|
Loading…
Reference in New Issue