Re: [OE-core] [PATCH] goarch.bbclass: Replace logic for setting GOARM

2017-09-08 Thread Will Newton
On Thu, Sep 7, 2017 at 7:17 PM, Andre McCurdy wrote: > On Thu, Sep 7, 2017 at 5:31 AM, Will Newton wrote: >> The previous logic applied a regex to TUNE_FEATURES which could >> set the GOARM value to 7 incorrectly, for example when dealing >> with an arm1176 core. Simplify to check for the presenc

Re: [OE-core] [PATCH] goarch.bbclass: Replace logic for setting GOARM

2017-09-07 Thread Khem Raj
On Thu, Sep 7, 2017 at 11:17 AM, Andre McCurdy wrote: > On Thu, Sep 7, 2017 at 5:31 AM, Will Newton wrote: >> The previous logic applied a regex to TUNE_FEATURES which could >> set the GOARM value to 7 incorrectly, for example when dealing >> with an arm1176 core. Simplify to check for the presen

Re: [OE-core] [PATCH] goarch.bbclass: Replace logic for setting GOARM

2017-09-07 Thread Andre McCurdy
On Thu, Sep 7, 2017 at 5:31 AM, Will Newton wrote: > The previous logic applied a regex to TUNE_FEATURES which could > set the GOARM value to 7 incorrectly, for example when dealing > with an arm1176 core. Simplify to check for the presence of > "armv7a" instead. At the same time add a check for "

Re: [OE-core] [PATCH] goarch.bbclass: Replace logic for setting GOARM

2017-09-07 Thread Khem Raj
On Thu, Sep 7, 2017 at 5:31 AM, Will Newton wrote: > The previous logic applied a regex to TUNE_FEATURES which could > set the GOARM value to 7 incorrectly, for example when dealing > with an arm1176 core. Simplify to check for the presence of > "armv7a" instead. At the same time add a check for "

[OE-core] [PATCH] goarch.bbclass: Replace logic for setting GOARM

2017-09-07 Thread Will Newton
The previous logic applied a regex to TUNE_FEATURES which could set the GOARM value to 7 incorrectly, for example when dealing with an arm1176 core. Simplify to check for the presence of "armv7a" instead. At the same time add a check for "armv6" and set GOARM to 6 in that case. Signed-off-by: Will