]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
go-helloworld: remove unused GO_WORKDIR
authorChen Qi <Qi.Chen@windriver.com>
Fri, 29 Apr 2022 02:22:38 +0000 (10:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Apr 2022 16:54:23 +0000 (17:54 +0100)
commit70bc5b6d40f94bde82415fb87db37fdf2606c2fb
tree5df6d0eb9cf3e604ba01d23e31a688347cbd55d2
parent51d7310b6cf8ef9033d461868c07f686656070ba
go-helloworld: remove unused GO_WORKDIR

The GO_WORKDIR is used only in go-mod.bbclass. As this recipe does
not inherit go-mod.bbclass, this variable is useless here.

This go-helloworld recipe was made to inherit go-mod.bbclass and build
in module-aware mode. However, it was found that we need to build go
recipes in GOPATH mode in order to support offline build. As a result,
this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR
setting was not cleaned up.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/go-examples/go-helloworld_0.1.bb