mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
gcc/go: Drop crosssdk suffix from virtual provides to improve dependency handling
There is little point in having "crosssdk" suffex added to the virtual provider within gcc/go since the TARGET_PREFIX or SDK_PREFIX already encapsulates this. Remove it allowing some of the special case overriding to be removed. This also allows removal of some of the MLPREFIX usage since again, the triplet also covers this. (From OE-Core rev: fe0206ba482d209b24e636d578aa68ba5e67ba1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
inherit cross-canadian
|
||||
|
||||
DEPENDS = "go-native virtual/${HOST_PREFIX}go-crosssdk virtual/nativesdk-${HOST_PREFIX}go-runtime \
|
||||
virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc \
|
||||
DEPENDS = "go-native virtual/${HOST_PREFIX}go virtual/nativesdk-${HOST_PREFIX}go-runtime \
|
||||
virtual/${HOST_PREFIX}gcc virtual/nativesdk-libc \
|
||||
virtual/nativesdk-${HOST_PREFIX}compilerlibs"
|
||||
PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
inherit crosssdk
|
||||
|
||||
DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils"
|
||||
DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils"
|
||||
PN = "go-crosssdk-${SDK_SYS}"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}go"
|
||||
|
||||
export GOCACHE = "${B}/.cache"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
|
||||
DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk"
|
||||
DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}go-runtime"
|
||||
|
||||
DEBUG_PREFIX_MAP = "\
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
|
||||
DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
|
||||
DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go go-native"
|
||||
|
||||
DEBUG_PREFIX_MAP = "\
|
||||
-fdebug-prefix-map=${STAGING_DIR_HOST}= \
|
||||
|
||||
Reference in New Issue
Block a user