summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-cross.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-cross.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-cross.inc')
-rw-r--r--meta/recipes-devtools/go/go-cross.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index 3d5803bf07..a0fbdbe3b9 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -17,7 +17,6 @@ do_compile() {
17 ./make.bash --host-only --no-banner 17 ./make.bash --host-only --no-banner
18 cd ${B} 18 cd ${B}
19} 19}
20do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
21do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 20do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
22 21
23make_wrapper() { 22make_wrapper() {