From dbc0eaf478feb3f752ae22fd184984494fc85d0a Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Sun, 24 Sep 2017 06:03:49 +0200 Subject: meta: drop True option to getVar calls Search made with the following regex: getVar ?\((.*), True\). Signed-off-by: Ming Liu Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-cross.inc | 2 +- meta/recipes-devtools/go/go-crosssdk.inc | 2 +- meta/recipes-devtools/go/go-native.inc | 2 +- meta/recipes-devtools/go/go-target.inc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/recipes-devtools/go') diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc index 234528ab98..dac0dfd137 100644 --- a/meta/recipes-devtools/go/go-cross.inc +++ b/meta/recipes-devtools/go/go-cross.inc @@ -15,7 +15,7 @@ export GOROOT_FINAL = "${libdir}/go" export CGO_ENABLED = "1" export CC_FOR_TARGET="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" export CXX_FOR_TARGET="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" -CC = "${@d.getVar('BUILD_CC', True).strip()}" +CC = "${@d.getVar('BUILD_CC').strip()}" do_configure[noexec] = "1" diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc index 471c75b3d5..f67e4b92a0 100644 --- a/meta/recipes-devtools/go/go-crosssdk.inc +++ b/meta/recipes-devtools/go/go-crosssdk.inc @@ -14,7 +14,7 @@ export CGO_ENABLED = "1" export CC_FOR_TARGET="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}${SDKPATHNATIVE}" export CXX_FOR_TARGET="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}${SDKPATHNATIVE}" export GO_INSTALL = "cmd" -CC = "${@d.getVar('BUILD_CC', True).strip()}" +CC = "${@d.getVar('BUILD_CC').strip()}" do_configure[noexec] = "1" diff --git a/meta/recipes-devtools/go/go-native.inc b/meta/recipes-devtools/go/go-native.inc index 66b845c633..95db1c2b7c 100644 --- a/meta/recipes-devtools/go/go-native.inc +++ b/meta/recipes-devtools/go/go-native.inc @@ -10,7 +10,7 @@ SRC_URI[bootstrap.sha256sum] = "9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e5 export GOOS = "${BUILD_GOOS}" export GOARCH = "${BUILD_GOARCH}" -CC = "${@d.getVar('BUILD_CC', True).strip()}" +CC = "${@d.getVar('BUILD_CC').strip()}" export CGO_ENABLED = "1" diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index 6065c3c80d..b9689c03c4 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc @@ -25,7 +25,7 @@ do_configure[noexec] = "1" do_compile() { export GOBIN="${B}/bin" - export CC="${@d.getVar('BUILD_CC', True).strip()}" + export CC="${@d.getVar('BUILD_CC').strip()}" rm -rf ${GOBIN} ${B}/pkg mkdir ${GOBIN} -- cgit 1.2.3-korg