From e3c7e1703499e6a5332d9ab8a941671ec8235c4f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Oct 2018 14:52:11 +0000 Subject: go: Change from TARGET_ARCH to TUNE_PKGARCH Right now go-cross is changing signatures when you change TUNE for a given architecture. In particular this breaks layer tests like: yocto-check-layer ../meta-yocto-bsp/ --machines qemuarm beaglebone-yocto This changes the PN addtion to something containing the tune rather than the arch which avoids these kinds of errors. If go-cross can be tune independent that would be nice but currently that isn't the case. [YOCTO #12586] Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-cross.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-devtools/go/go-cross.inc') diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc index 44f230b8bc..6d9aa5c2dd 100644 --- a/meta/recipes-devtools/go/go-cross.inc +++ b/meta/recipes-devtools/go/go-cross.inc @@ -1,9 +1,9 @@ inherit cross -PROVIDES = "virtual/${TARGET_PREFIX}go" +PROVIDES = "virtual/${TUNE_PKGARCH}-go" DEPENDS = "go-native" -PN = "go-cross-${TARGET_ARCH}" +PN = "go-cross-${TUNE_PKGARCH}" export GOHOSTOS = "${BUILD_GOOS}" export GOHOSTARCH = "${BUILD_GOARCH}" -- cgit 1.2.3-korg