Lines Matching full:go
1 # This recipe builds a native Go (written in Go) by first building an old Go 1.4
2 # (written in C). However this old Go does not support all hosts platforms.
4 require go-${PV}.inc
8 SRC_URI += "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4"
18 cd ${WORKDIR}/go1.4/go/src
19 CGO_ENABLED=0 GOROOT=${WORKDIR}/go1.4/go ./make.bash
23 export GOROOT_FINAL="${libdir_native}/go"
24 export GOROOT_BOOTSTRAP="${WORKDIR}/go1.4/go"
37 export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}"
38 \$here/../lib/go/bin/$1 "\$@"
44 install -d ${D}${libdir}/go
45 cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/
46 install -d ${D}${libdir}/go/src
48 [ -d $d ] && cp -a ${S}/src/$d ${D}${libdir}/go/src/; \
50 find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \;
51 install -d ${D}${bindir} ${D}${libdir}/go/bin
55 install -m755 $f ${D}${libdir}/go/bin