]> code.ossystems Code Review - openembedded-core.git/commitdiff
go-crosssdk: PN should use SDK_SYS, not TARGET_ARCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Dec 2018 14:46:30 +0000 (14:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2018 17:09:12 +0000 (17:09 +0000)
The crosssdk dependencies are handled using the virtual/ namespace so
this name doesn't matter in the general sense. We want to be able to provide
recipe maintainer information through overrides though, so this standardises it
with the behaviour from gcc-crosssdk and ensures the maintainer overrides work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-crosssdk.inc

index 4391b32424afa1971aa5e60c4d811ad8f58bb079..94f6fb8eb767d967a7af2dfc619cef79690a5645 100644 (file)
@@ -1,7 +1,7 @@
 inherit crosssdk
 
 DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils-crosssdk"
-PN = "go-crosssdk-${TARGET_ARCH}"
+PN = "go-crosssdk-${SDK_SYS}"
 PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk"
 
 export GOHOSTOS = "${BUILD_GOOS}"