summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-02-08 12:53:27 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-02-09 09:14:27 -0500
commit2ef58c264b21d36255c2754abef43e0bee764ae8 (patch)
treeda33d2e3983236716c57d0a1fc79075a53731f42 /recipes-devtools
parentd475adc71ba14740e1fe9c19493df7275d0737c4 (diff)
downloadmeta-virtualization-2ef58c264b21d36255c2754abef43e0bee764ae8.tar.gz
go-cross: add ${TARGET_ARCH} to PN
Since we are building a cross tool which produces something which is ARCH specific we should stick to the <toolname>-cross-<arch> naming convention. A variant of this patch has been floating around for a while but with the changes around per recipe sysroots, distributed builds, shared builds... we are best served to adopt this convention now. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/go-cross/go-cross.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc
index 857fbd54..a7117bcd 100644
--- a/recipes-devtools/go-cross/go-cross.inc
+++ b/recipes-devtools/go-cross/go-cross.inc
@@ -1,5 +1,8 @@
1inherit cross 1inherit cross
2 2
3# Produces target arch specific code so we should reflect this in the PN
4PN = "go-cross-${TARGET_ARCH}"
5
3# libgcc is required for the target specific libraries to build properly 6# libgcc is required for the target specific libraries to build properly
4DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc" 7DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc"
5 8