summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian.inc1
-rw-r--r--meta/recipes-devtools/go/go-cross.inc1
-rw-r--r--meta/recipes-devtools/go/go-crosssdk.inc1
-rw-r--r--meta/recipes-devtools/go/go-native_1.17.8.bb1
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc1
-rw-r--r--meta/recipes-devtools/go/go-target.inc1
6 files changed, 0 insertions, 6 deletions
diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc
index d49250a8e2..c1aa987427 100644
--- a/meta/recipes-devtools/go/go-cross-canadian.inc
+++ b/meta/recipes-devtools/go/go-cross-canadian.inc
@@ -27,7 +27,6 @@ do_compile() {
27 ./make.bash --host-only --no-banner 27 ./make.bash --host-only --no-banner
28 cd ${B} 28 cd ${B}
29} 29}
30do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
31do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 30do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
32 31
33 32
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() {
diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc
index f0bec79719..cd23cca2fe 100644
--- a/meta/recipes-devtools/go/go-crosssdk.inc
+++ b/meta/recipes-devtools/go/go-crosssdk.inc
@@ -13,7 +13,6 @@ do_compile() {
13 ./make.bash --host-only --no-banner 13 ./make.bash --host-only --no-banner
14 cd ${B} 14 cd ${B}
15} 15}
16do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
17do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 16do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
18 17
19make_wrapper() { 18make_wrapper() {
diff --git a/meta/recipes-devtools/go/go-native_1.17.8.bb b/meta/recipes-devtools/go/go-native_1.17.8.bb
index ffe4ef3523..76c0ab73a6 100644
--- a/meta/recipes-devtools/go/go-native_1.17.8.bb
+++ b/meta/recipes-devtools/go/go-native_1.17.8.bb
@@ -27,7 +27,6 @@ do_compile() {
27 ./make.bash ${GOMAKEARGS} 27 ./make.bash ${GOMAKEARGS}
28 cd ${B} 28 cd ${B}
29} 29}
30do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin"
31do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin" 30do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin"
32 31
33make_wrapper() { 32make_wrapper() {
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc
index ccb86d4fe9..e18339cddb 100644
--- a/meta/recipes-devtools/go/go-runtime.inc
+++ b/meta/recipes-devtools/go/go-runtime.inc
@@ -38,7 +38,6 @@ do_compile() {
38 fi 38 fi
39 cd ${B} 39 cd ${B}
40} 40}
41do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
42do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 41do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
43 42
44do_install() { 43do_install() {
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() {