summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/go-examples
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2022-04-29 10:22:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-29 17:54:25 +0100
commit1ecaf468157b231053c34d7d4431d6ccfee745fc (patch)
tree1a411ae108f5db9eed253ec2fdf3981d755c6349 /meta/recipes-extended/go-examples
parente141d586f2c4e4021c69b6bb2c28ed4e2bb05bb3 (diff)
downloadpoky-1ecaf468157b231053c34d7d4431d6ccfee745fc.tar.gz
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. (From OE-Core rev: 70bc5b6d40f94bde82415fb87db37fdf2606c2fb) 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>
Diffstat (limited to 'meta/recipes-extended/go-examples')
-rw-r--r--meta/recipes-extended/go-examples/go-helloworld_0.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
index 0faab39b66..d0de035921 100644
--- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
+++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb
@@ -11,7 +11,7 @@ UPSTREAM_CHECK_COMMITS = "1"
11 11
12GO_IMPORT = "golang.org/x/example" 12GO_IMPORT = "golang.org/x/example"
13GO_INSTALL = "${GO_IMPORT}/hello" 13GO_INSTALL = "${GO_IMPORT}/hello"
14GO_WORKDIR = "${GO_INSTALL}" 14
15export GO111MODULE="off" 15export GO111MODULE="off"
16 16
17inherit go 17inherit go