diff options
author | Matt Madison <matt@madison.systems> | 2018-03-04 13:09:28 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:36:32 -0800 |
commit | 351e9fc39408e094bbb4beedf51221adc8afd143 (patch) | |
tree | 1aad65b353adfd4522e40248d93e816abac3823b | |
parent | ce9d70ae2f9981bf5b42641922c34c1ed54eeca3 (diff) | |
download | openembedded-core-351e9fc39408e094bbb4beedf51221adc8afd143.tar.gz openembedded-core-351e9fc39408e094bbb4beedf51221adc8afd143.tar.bz2 openembedded-core-351e9fc39408e094bbb4beedf51221adc8afd143.zip |
go.bbclass: remove debug-related commands
The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/go.bbclass | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index 96302a187c..21ac2276c5 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -89,7 +89,6 @@ do_configure[dirs] =+ "${GOTMPDIR}" go_do_compile() { export TMPDIR="${GOTMPDIR}" - ${GO} env if [ -n "${GO_INSTALL}" ]; then if [ -n "${GO_LINKSHARED}" ]; then ${GO} install ${GOBUILDFLAGS} `go_list_packages` @@ -126,7 +125,6 @@ go_do_install() { } do_install_ptest_base() { -set -x test -f "${B}/.go_compiled_tests.list" || exit 0 tests="" while read test; do @@ -160,7 +158,6 @@ EOF else rm -rf ${D}${PTEST_PATH} fi -set +x } EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install |