diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-28 19:44:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 21:38:40 +0100 |
commit | 0762e1ff5e29487f5b25a069e31257275415a3e6 (patch) | |
tree | 4e5c562996eb67b245f18525dad329a6a7b47848 /meta/conf/machine/include | |
parent | 5f1fac618fa099f6fc78cbc98f18d1c0ab792abf (diff) | |
download | openembedded-core-0762e1ff5e29487f5b25a069e31257275415a3e6.tar.gz openembedded-core-0762e1ff5e29487f5b25a069e31257275415a3e6.tar.bz2 openembedded-core-0762e1ff5e29487f5b25a069e31257275415a3e6.zip |
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.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r-- | meta/conf/machine/include/tune-i586.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/machine/include/tune-i586.inc b/meta/conf/machine/include/tune-i586.inc index ba655b94d3..a40ce1857a 100644 --- a/meta/conf/machine/include/tune-i586.inc +++ b/meta/conf/machine/include/tune-i586.inc @@ -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 |