diff options
author | Robert Andersson <robert.m.andersson@atlascopco.com> | 2022-12-11 18:02:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-13 23:31:40 +0000 |
commit | e8ff575d9be58fe38a2d0355ca0b84c5190a72f5 (patch) | |
tree | 44bb7880a7ba61f9ea04654cd8a833d8baf3414f | |
parent | 77a9c9b66b26563729d35f8f7ee957d623659fe8 (diff) | |
download | poky-e8ff575d9be58fe38a2d0355ca0b84c5190a72f5.tar.gz |
go-crosssdk: avoid host contamination by GOCACHE
By default GOCACHE is set to $HOME/.cache.
Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]
but that commit missed go-crosssdk recipe.
(From OE-Core rev: e5fd10c647ac4baad65f9efa964c3380aad7dd10)
Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/go/go-crosssdk.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc index cd23cca2fe..766938670a 100644 --- a/meta/recipes-devtools/go/go-crosssdk.inc +++ b/meta/recipes-devtools/go/go-crosssdk.inc | |||
@@ -4,6 +4,8 @@ DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TA | |||
4 | PN = "go-crosssdk-${SDK_SYS}" | 4 | PN = "go-crosssdk-${SDK_SYS}" |
5 | PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk" | 5 | PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk" |
6 | 6 | ||
7 | export GOCACHE = "${B}/.cache" | ||
8 | |||
7 | do_configure[noexec] = "1" | 9 | do_configure[noexec] = "1" |
8 | 10 | ||
9 | do_compile() { | 11 | do_compile() { |