diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-03-14 15:16:47 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-15 08:40:09 +0000 |
| commit | c41e58279a13b3c2fe0dbba4ba39510fe593d582 (patch) | |
| tree | 8b585b5d53c9f03017be3c6c9daccea363815b64 /meta/recipes-devtools/go | |
| parent | d081a760630e85ed7b69d0047c83e35a459523f0 (diff) | |
| download | poky-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')
| -rw-r--r-- | meta/recipes-devtools/go/go-cross-canadian.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/go/go-cross.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/go/go-crosssdk.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/go/go-native_1.17.8.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/go/go-runtime.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/go/go-target.inc | 1 |
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 | } |
| 30 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg" | ||
| 31 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" | 30 | do_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 | } |
| 20 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg" | ||
| 21 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" | 20 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" |
| 22 | 21 | ||
| 23 | make_wrapper() { | 22 | make_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 | } |
| 16 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg" | ||
| 17 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" | 16 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" |
| 18 | 17 | ||
| 19 | make_wrapper() { | 18 | make_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 | } |
| 30 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin" | ||
| 31 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin" | 30 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin" |
| 32 | 31 | ||
| 33 | make_wrapper() { | 32 | make_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 | } |
| 41 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg" | ||
| 42 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" | 41 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" |
| 43 | 42 | ||
| 44 | do_install() { | 43 | do_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 | } |
| 32 | do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg" | ||
| 33 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" | 32 | do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" |
| 34 | 33 | ||
| 35 | do_install() { | 34 | do_install() { |
