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:43:10 -0800 |
| commit | b6ff2564e9f0141d36eb7ca1010dd17917a01d47 (patch) | |
| tree | fdff2529af40c5fe34b33b0a763da1c7a3d2e1d8 | |
| parent | 29af62dfa0b77125d95adc1f2468eb9bc6a5ca7c (diff) | |
| download | poky-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>
| -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}" | |||
| 89 | 89 | ||
| 90 | go_do_compile() { | 90 | go_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 | ||
| 128 | do_install_ptest_base() { | 127 | do_install_ptest_base() { |
| 129 | set -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 |
| 163 | set +x | ||
| 164 | } | 161 | } |
| 165 | 162 | ||
| 166 | EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install | 163 | EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install |
