summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-target.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/go/go-target.inc
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-target.inc')
-rw-r--r--meta/recipes-devtools/go/go-target.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index 8e44247031..47b4411d54 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -1,12 +1,12 @@
1DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" 1DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
2DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" 2DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
3 3
4export GOCACHE = "${B}/.cache" 4export GOCACHE = "${B}/.cache"
5GO_LDFLAGS = "" 5GO_LDFLAGS = ""
6GO_LDFLAGS_class-nativesdk = "-linkmode external" 6GO_LDFLAGS:class-nativesdk = "-linkmode external"
7export GO_LDFLAGS 7export GO_LDFLAGS
8 8
9CC_append_class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}" 9CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}"
10 10
11do_configure[noexec] = "1" 11do_configure[noexec] = "1"
12 12
@@ -38,8 +38,8 @@ do_install() {
38} 38}
39 39
40PACKAGES = "${PN} ${PN}-dev" 40PACKAGES = "${PN} ${PN}-dev"
41FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}" 41FILES:${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}"
42RDEPENDS_${PN} = "go-runtime" 42RDEPENDS:${PN} = "go-runtime"
43INSANE_SKIP_${PN} = "ldflags" 43INSANE_SKIP:${PN} = "ldflags"
44 44
45BBCLASSEXTEND = "nativesdk" 45BBCLASSEXTEND = "nativesdk"