summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2018-03-04 13:09:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:43:10 -0800
commitb6ff2564e9f0141d36eb7ca1010dd17917a01d47 (patch)
treefdff2529af40c5fe34b33b0a763da1c7a3d2e1d8 /meta
parent29af62dfa0b77125d95adc1f2468eb9bc6a5ca7c (diff)
downloadpoky-b6ff2564e9f0141d36eb7ca1010dd17917a01d47.tar.gz
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. (From OE-Core rev: 351e9fc39408e094bbb4beedf51221adc8afd143) 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')
-rw-r--r--meta/classes/go.bbclass3
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}"
89 89
90go_do_compile() { 90go_do_compile() {
91 export TMPDIR="${GOTMPDIR}" 91 export TMPDIR="${GOTMPDIR}"
92 ${GO} env
93 if [ -n "${GO_INSTALL}" ]; then 92 if [ -n "${GO_INSTALL}" ]; then
94 if [ -n "${GO_LINKSHARED}" ]; then 93 if [ -n "${GO_LINKSHARED}" ]; then
95 ${GO} install ${GOBUILDFLAGS} `go_list_packages` 94 ${GO} install ${GOBUILDFLAGS} `go_list_packages`
@@ -126,7 +125,6 @@ go_do_install() {
126} 125}
127 126
128do_install_ptest_base() { 127do_install_ptest_base() {
129set -x
130 test -f "${B}/.go_compiled_tests.list" || exit 0 128 test -f "${B}/.go_compiled_tests.list" || exit 0
131 tests="" 129 tests=""
132 while read test; do 130 while read test; do
@@ -160,7 +158,6 @@ EOF
160 else 158 else
161 rm -rf ${D}${PTEST_PATH} 159 rm -rf ${D}${PTEST_PATH}
162 fi 160 fi
163set +x
164} 161}
165 162
166EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install 163EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install