[oe-commits] [openembedded-core] 04/26: go.bbclass: remove debug-related commands

git at git.openembedded.org git at git.openembedded.org
Tue Feb 27 23:44:15 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9c02efa322a0292d292f96a9150d8ea11af08c6c
Author: Matt Madison <matt at madison.systems>
AuthorDate: Tue Feb 27 04:36:30 2018 -0800

    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 at madison.systems>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/go.bbclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index a126d53..a20d2dc 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
 		${GO} install ${GO_LINKSHARED} ${GOBUILDFLAGS} `go_list_packages`
 	fi
@@ -120,7 +119,6 @@ go_do_install() {
 }
 
 do_install_ptest_base() {
-set -x
     test -f "${B}/.go_compiled_tests.list" || exit 0
     tests=""
     while read test; do
@@ -154,7 +152,6 @@ EOF
     else
         rm -rf ${D}${PTEST_PATH}
     fi
-set +x
 }
 
 EXPORT_FUNCTIONS do_unpack do_configure do_compile do_install

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list