From e8ff575d9be58fe38a2d0355ca0b84c5190a72f5 Mon Sep 17 00:00:00 2001 From: Robert Andersson Date: Sun, 11 Dec 2022 18:02:47 +0100 Subject: 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 Signed-off-by: Ming Liu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-crosssdk.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-devtools/go') 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 PN = "go-crosssdk-${SDK_SYS}" PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk" +export GOCACHE = "${B}/.cache" + do_configure[noexec] = "1" do_compile() { -- cgit v1.2.3-54-g00ecf