diff options
author | Matt Madison <matt@madison.systems> | 2018-03-04 13:09:32 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:43:10 -0800 |
commit | 020915eb9b2dd4632b44ba7c18bd09f944a03042 (patch) | |
tree | 4f9bcea06dd11b12d7a838dbb6ba84c330adebbf /meta/recipes-devtools/go/go-target.inc | |
parent | 58472bc7d07df7c713baffea16a1e3f48295cb5f (diff) | |
download | poky-020915eb9b2dd4632b44ba7c18bd09f944a03042.tar.gz |
go: move common settings to go-common.inc
Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file. Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.
(From OE-Core rev: e72d2a7b7ee7913095a35ae92c3ca364de00c8a7)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
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.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index 141a456cca..3bc32f3bec 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc | |||
@@ -1,4 +1,3 @@ | |||
1 | inherit goarch | ||
2 | DEPENDS = "virtual/${TARGET_PREFIX}go go-native" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}go go-native" |
3 | DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" | 2 | DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" |
4 | 3 | ||
@@ -11,10 +10,6 @@ export GO386 = "${TARGET_GO386}" | |||
11 | export GOMIPS = "${TARGET_GOMIPS}" | 10 | export GOMIPS = "${TARGET_GOMIPS}" |
12 | export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" | 11 | export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" |
13 | export GOROOT_FINAL = "${libdir}/go" | 12 | export GOROOT_FINAL = "${libdir}/go" |
14 | export CGO_ENABLED = "1" | ||
15 | export GOCACHE = "off" | ||
16 | export GOTMPDIR ?= "${WORKDIR}/go-tmp" | ||
17 | GOTMPDIR[vardepvalue] = "" | ||
18 | GO_LDFLAGS = "" | 13 | GO_LDFLAGS = "" |
19 | GO_LDFLAGS_class-nativesdk = "-linkmode external" | 14 | GO_LDFLAGS_class-nativesdk = "-linkmode external" |
20 | export GO_LDFLAGS | 15 | export GO_LDFLAGS |