Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | require go-crosssdk.inc |
2 | require go-${PV}.inc | ||||
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 3 | |
4 | export CC_FOR_TARGET = "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" | ||||
5 | export CXX_FOR_TARGET = "${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" | ||||
6 | export GO_INSTALL = "cmd" | ||||
7 | |||||
8 | do_compile_prepend() { | ||||
9 | export GOBIN="${B}/bin" | ||||
10 | export TMPDIR="$GOTMPDIR" | ||||
11 | } |