From 2ef58c264b21d36255c2754abef43e0bee764ae8 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 8 Feb 2017 12:53:27 -0500 Subject: 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 -cross- 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 Signed-off-by: Bruce Ashfield --- recipes-devtools/go-cross/go-cross.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-devtools') 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 @@ inherit cross +# Produces target arch specific code so we should reflect this in the PN +PN = "go-cross-${TARGET_ARCH}" + # libgcc is required for the target specific libraries to build properly DEPENDS += "go-initial-native libgcc virtual/${TARGET_PREFIX}gcc" -- cgit v1.2.3-54-g00ecf