summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-target.inc
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-03-14 15:16:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 08:40:09 +0000
commitc41e58279a13b3c2fe0dbba4ba39510fe593d582 (patch)
tree8b585b5d53c9f03017be3c6c9daccea363815b64 /meta/recipes-devtools/go/go-target.inc
parentd081a760630e85ed7b69d0047c83e35a459523f0 (diff)
downloadpoky-c41e58279a13b3c2fe0dbba4ba39510fe593d582.tar.gz
go: Remove three unnecessary paths from do_compile[dirs]
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). (From OE-Core rev: 9f610748f760b2d58d5250b55ae4b268909f33ef) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-target.inc')
-rw-r--r--meta/recipes-devtools/go/go-target.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index b0d487ae1c..d085643036 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -29,7 +29,6 @@ do_compile() {
29 ./make.bash --target-only --no-banner 29 ./make.bash --target-only --no-banner
30 cd ${B} 30 cd ${B}
31} 31}
32do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
33do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 32do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
34 33
35do_install() { 34do_install() {