summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-native.inc
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2018-03-04 13:09:32 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:36:33 -0800
commite72d2a7b7ee7913095a35ae92c3ca364de00c8a7 (patch)
treeefb899aba9fe3daa19383348ebbcc0712b3c1fd9 /meta/recipes-devtools/go/go-native.inc
parentfde7017f9735c0d317023022817b28771df53109 (diff)
downloadopenembedded-core-contrib-e72d2a7b7ee7913095a35ae92c3ca364de00c8a7.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. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/go/go-native.inc')
-rw-r--r--meta/recipes-devtools/go/go-native.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-devtools/go/go-native.inc b/meta/recipes-devtools/go/go-native.inc
index 35561768df..b76fb0825e 100644
--- a/meta/recipes-devtools/go/go-native.inc
+++ b/meta/recipes-devtools/go/go-native.inc
@@ -10,11 +10,8 @@ SRC_URI[bootstrap.sha256sum] = "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96
export GOOS = "${BUILD_GOOS}"
export GOARCH = "${BUILD_GOARCH}"
-export GOTMPDIR ?= "${WORKDIR}/go-tmp"
-GOTMPDIR[vardepvalue] = ""
CC = "${@d.getVar('BUILD_CC').strip()}"
-export CGO_ENABLED = "1"
GOMAKEARGS ?= "--no-banner"
do_configure() {