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> --- meta/classes/go.bbclass | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index 805d92e101..33a6fff0cd 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -88,7 +88,6 @@ go_do_configure() { do_configure[dirs] =+ "${GOTMPDIR}" go_do_compile() { - ${GO} env if [ -n "${GO_INSTALL}" ]; then if [ -n "${GO_LINKSHARED}" ]; then ${GO} install ${GOBUILDFLAGS} `go_list_packages` @@ -124,7 +123,6 @@ go_do_install() { } do_install_ptest_base() { -set -x test -f "${B}/.go_compiled_tests.list" || exit 0 tests="" while read test; do @@ -158,7 +156,6 @@ EOF else rm -rf ${D}${PTEST_PATH} fi -set +x } EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core