blob: 4739c7d5c45a36b846c616aa629d74fd9517d35d [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001require go-cross.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}"
6
7do_compile_prepend() {
8 export GOBIN="${B}/bin"
9 export TMPDIR="$GOTMPDIR"
10}