All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES
@ 2020-03-02 17:11 Junling Zheng
  2020-03-02 18:29 ` Khem Raj
  0 siblings, 1 reply; 15+ messages in thread
From: Junling Zheng @ 2020-03-02 17:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: wangnan0

Currently, for arch-arm64, poky will append the MACHINEOVERRIDES with
"aarch64:", which has the higher priority than TRANSLATED_TARGET_ARCH.
So, for aarch64 big endian, the variable '<foo>_aarch64' will override
not only '<foo>', but also '<foo>_aarch64-be', thus we will get an
incorrect variable.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
---
 meta/conf/machine/include/arm/arch-arm64.inc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc
index 53f4566815..32294bd218 100644
--- a/meta/conf/machine/include/arm/arch-arm64.inc
+++ b/meta/conf/machine/include/arm/arch-arm64.inc
@@ -4,8 +4,6 @@ require conf/machine/include/arm/arch-armv7ve.inc
 
 TUNEVALID[aarch64] = "Enable instructions for aarch64"
 
-MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'aarch64:', '' ,d)}"
-
 # Little Endian base configs
 AVAILTUNES += "aarch64 aarch64_be"
 ARMPKGARCH_tune-aarch64 ?= "aarch64"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-03-03 19:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 17:11 [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES Junling Zheng
2020-03-02 18:29 ` Khem Raj
2020-03-02 21:34   ` Adrian Bunk
2020-03-03 19:27     ` Khem Raj
2020-03-03  3:10   ` Junling Zheng
2020-03-03 11:59     ` Peter Kjellerstedt
2020-03-03 13:05       ` Herve Jourdain
2020-03-03 13:33         ` Peter Kjellerstedt
2020-03-03 13:39       ` Adrian Bunk
2020-03-03 14:19         ` Peter Kjellerstedt
2020-03-03 19:21         ` Jeremy Puhlman
2020-03-03 14:13       ` Junling Zheng
2020-03-03 14:20         ` Peter Kjellerstedt
2020-03-03 14:39           ` Junling Zheng
2020-03-03 19:31       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.