summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/go-cross/go-cross.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-devtools/go-cross/go-cross.inc b/recipes-devtools/go-cross/go-cross.inc
index eea1b2ce..cd75b401 100644
--- a/recipes-devtools/go-cross/go-cross.inc
+++ b/recipes-devtools/go-cross/go-cross.inc
@@ -17,9 +17,13 @@ CC = "${@d.getVar('BUILD_CC', True).strip()}"
17do_configure[noexec] = "1" 17do_configure[noexec] = "1"
18 18
19do_compile() { 19do_compile() {
20 export GOBIN="${B}/bin" 20 export GOBIN="${B}/bin"
21 rm -rf ${GOBIN} ${B}/pkg 21 rm -rf ${GOBIN} ${B}/pkg
22 mkdir ${GOBIN} 22 mkdir ${GOBIN}
23
24 export TMPDIR=${WORKDIR}/build-tmp
25 mkdir ${WORKDIR}/build-tmp
26
23 cd src 27 cd src
24 ./make.bash --host-only 28 ./make.bash --host-only
25} 29}