Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Khem Raj
] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES On 2020/3/3 2:29, Khem Raj wrote: On 3/2/20 9:11 AM, Junling Zheng wrote: Currently, for arch-arm64, poky will append the MACHINEOVERRIDES with "aarch64:", which has the higher priority than TRANSLATED_TARGET_ARCH. So, for a

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Khem Raj
On 3/2/20 1:34 PM, Adrian Bunk wrote: On Mon, Mar 02, 2020 at 10:29:37AM -0800, Khem Raj wrote: On 3/2/20 9:11 AM, Junling Zheng wrote: Currently, for arch-arm64, poky will append the MACHINEOVERRIDES with "aarch64:", which has the higher priority than TRANSLATED_TARGET_ARCH. So, for aarch

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Jeremy Puhlman
On 3/3/2020 5:39 AM, Adrian Bunk wrote: On Tue, Mar 03, 2020 at 11:59:58AM +, Peter Kjellerstedt wrote: ... Which corresponds to how it is done for armv7*. At least we currently rely on being able to do, e.g.: COMPATIBLE_MACHINE = "aarch64|armv7a|armv7ve" and if you remove "aarch64" fro

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Junling Zheng
.@lists.openembedded.org> On Behalf Of Junling Zheng >>>> Sent: den 3 mars 2020 04:11 >>>> To: Khem Raj ; openembedded- >>>> c...@lists.openembedded.org >>>> Cc: wangn...@huawei.com >>>> Subject: Re: [OE-core] [PATCH] arch-arm64.inc: Do

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Peter Kjellerstedt
> -Original Message- > From: Junling Zheng > Sent: den 3 mars 2020 15:14 > To: Peter Kjellerstedt ; Khem Raj > ; openembedded-core@lists.openembedded.org > Cc: wangn...@huawei.com > Subject: Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in > MACHINEOV

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Peter Kjellerstedt
> -Original Message- > From: Adrian Bunk > Sent: den 3 mars 2020 14:40 > To: Peter Kjellerstedt > Cc: Junling Zheng ; Khem Raj > ; openembedded-core@lists.openembedded.org; > wangn...@huawei.com > Subject: Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Junling Zheng
t; c...@lists.openembedded.org >> Cc: wangn...@huawei.com >> Subject: Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in >> MACHINEOVERRIDES >> >> On 2020/3/3 2:29, Khem Raj wrote: >>> >>> >>> On 3/2/20 9:11 AM, Junling Zheng wr

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Adrian Bunk
On Tue, Mar 03, 2020 at 11:59:58AM +, Peter Kjellerstedt wrote: >... > Which corresponds to how it is done for armv7*. > > At least we currently rely on being able to do, e.g.: > > COMPATIBLE_MACHINE = "aarch64|armv7a|armv7ve" > > and if you remove "aarch64" from MACHINEOVERRIDES, we need a

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Peter Kjellerstedt
t all cortexa53 are created the same). > > Cheers, > Herve > > -----Original Message----- > From: openembedded-core-boun...@lists.openembedded.org > On Behalf Of Peter > Kjellerstedt > Sent: 03 March 2020 13:00 > To: Junling Zheng ; Khem Raj > ; > openembedded-core@lists.openembed

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Herve Jourdain
Sent: 03 March 2020 13:00 To: Junling Zheng ; Khem Raj ; openembedded-core@lists.openembedded.org Cc: wangn...@huawei.com Subject: Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES > -Original Message- > From: openembedded-core-boun...@lists.openembedded.o

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Peter Kjellerstedt
ct: Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in > MACHINEOVERRIDES > > On 2020/3/3 2:29, Khem Raj wrote: > > > > > > On 3/2/20 9:11 AM, Junling Zheng wrote: > >> Currently, for arch-arm64, poky will append the MACHINEOVERRIDES with > >>

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Junling Zheng
On 2020/3/3 2:29, Khem Raj wrote: > > > On 3/2/20 9:11 AM, Junling Zheng wrote: >> 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 '_aarch64' will override >

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Adrian Bunk
On Mon, Mar 02, 2020 at 10:29:37AM -0800, Khem Raj wrote: > > > On 3/2/20 9:11 AM, Junling Zheng wrote: > > 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

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Khem Raj
On 3/2/20 9:11 AM, Junling Zheng wrote: 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 '_aarch64' will override not only '', but also '_aarch64-be', thus we wi

[OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Junling Zheng
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 '_aarch64' will override not only '', but also '_aarch64-be', thus we will get an incorrect variable. Signed-off-by: