summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Andersson <robert.m.andersson@atlascopco.com>2022-12-11 18:02:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:33:15 +0000
commit4c5d832fe97af9940a43587ecba97b98c6e68bb9 (patch)
tree471c9a692c26e342a63b9d6b651b297d9e37901b /meta/recipes-devtools
parent785e988a3dd5decc6176e95d1bb595b74afd9cec (diff)
downloadpoky-4c5d832fe97af9940a43587ecba97b98c6e68bb9.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: 22fef4e278beae60d1a6afbe4645fb36732bc736) 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> (cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/go/go-crosssdk.inc2
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 f0bec79719..36c9b12af8 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
4PN = "go-crosssdk-${SDK_SYS}" 4PN = "go-crosssdk-${SDK_SYS}"
5PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk" 5PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk"
6 6
7export GOCACHE = "${B}/.cache"
8
7do_configure[noexec] = "1" 9do_configure[noexec] = "1"
8 10
9do_compile() { 11do_compile() {