]> code.ossystems Code Review - openembedded-core.git/commit
go-cross: take GOARM environment setting
authorMatt Madison <matt@madison.systems>
Tue, 12 Sep 2017 12:50:27 +0000 (09:50 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Sep 2017 22:51:37 +0000 (23:51 +0100)
commit1d319f102cd1f37ce5629c73948efae01478f866
tree86aebf33f730ec3d69cb5d5bcdcd5061ef3fa228
parent780aa334f8614c80ce5b9cb77b0cea2fcd482614
go-cross: take GOARM environment setting

Instead of hard-coding GOARM to ${TARGET_GOARM} in
the wrapper script, take it from an existing
environment setting if present.  This allows the
same cross-compiler to be used for different ARM
targets.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-cross.inc