]> code.ossystems Code Review - openembedded-core.git/commit
goarch.bbclass: Replace logic for setting GOARM
authorWill Newton <will.newton@gmail.com>
Fri, 8 Sep 2017 08:52:23 +0000 (09:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Oct 2017 13:54:48 +0000 (14:54 +0100)
commit93dd2f9f3edf0584f9e806c629611d645dd72dbf
treed11b4aa4fd0e0544ea76027328c6b6752e1d725e
parent28d2d47f2a4fc3eb649cf58e82bce0525ab0bc74
goarch.bbclass: Replace logic for setting GOARM

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
"armv7" instead. At the same time add a check for "armv6" and
set GOARM to 6 in that case.

Signed-off-by: Will Newton <willn@resin.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/goarch.bbclass