blob: 3ac629bd41e91ba04a590a271c95745e37503d7e [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001require go-crosssdk.inc
2require go-${PV}.inc
Brad Bishop316dfdd2018-06-25 12:45:53 -04003
4export CC_FOR_TARGET = "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"
5export CXX_FOR_TARGET = "${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}"
6export GO_INSTALL = "cmd"
7
8do_compile_prepend() {
9 export GOBIN="${B}/bin"
10 export TMPDIR="$GOTMPDIR"
11}