diff options
author | Matt Madison <matt@madison.systems> | 2017-09-12 09:50:25 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-12 23:51:37 +0100 |
commit | 088528021d6979a8e2d6bc33d63a166e300cfde4 (patch) | |
tree | 5d0752057c72f9bc2b3c563524e19817c36d55fb /scripts/lib/recipetool/append.py | |
parent | 53bbd2222027b7bbca8df066a8a9a58355ae0f91 (diff) | |
download | openembedded-core-088528021d6979a8e2d6bc33d63a166e300cfde4.tar.gz openembedded-core-088528021d6979a8e2d6bc33d63a166e300cfde4.tar.bz2 openembedded-core-088528021d6979a8e2d6bc33d63a166e300cfde4.zip |
go.bbclass: clean up CGO_xxx settings
* use conditional assignment for the CGO_xxx
variables, so they can be overridden more easily
* remove the TOOLCHAIN_OPTIONS and TARGET_CC_ARCH
references, since those are already present in
CC and CXX
* remove the TARGET_ prefix so the values are
appropriate for native, nativesdk, etc. builds
* move the GOROOT export away from the CGO settings
and closer to its definition
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>
Diffstat (limited to 'scripts/lib/recipetool/append.py')
0 files changed, 0 insertions, 0 deletions