|
|
|
@ -14,23 +14,18 @@ fi
|
|
|
|
|
|
|
|
|
|
if [ "${ARCH}" = "virtual" ]; then
|
|
|
|
|
: "${FQBN:=keyboardio:virtual:${BOARD}}"
|
|
|
|
|
: "${COMPILER_PATH:=/usr/bin/}"
|
|
|
|
|
if [ "${uname_S}" = "FreeBSD" ]; then
|
|
|
|
|
: "${COMPILER_PATH:=/usr/local/bin/}"
|
|
|
|
|
else
|
|
|
|
|
: "${COMPILER_PATH:=/usr/bin/}"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
COMPILER_PREFIX=""
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
: "${FQBN:=keyboardio:${ARCH}:${BOARD}}"
|
|
|
|
|
|
|
|
|
|
if [ "${uname_S}" = "FreeBSD" ]; then
|
|
|
|
|
: "${AVR_SIZE:=/usr/local/bin/avr-size}"
|
|
|
|
|
: "${AVR_NM:=/usr/local/bin/avr-nm}"
|
|
|
|
|
: "${AVR_OBJDUMP:=/usr/local/bin/avr-objdump}"
|
|
|
|
|
|
|
|
|
|
if [ "${ARCH}" = "virtual" ]; then
|
|
|
|
|
: "${COMPILER_PATH:=/usr/local/bin/}"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
elif [ "${uname_O}" = "Cygwin" ]; then
|
|
|
|
|
if [ "${uname_O}" = "Cygwin" ]; then
|
|
|
|
|
# The Windows arduino-builder.exe doesn't understand being told to exec against Cygwin symlinks
|
|
|
|
|
CCACHE_NOT_SUPPORTED=1
|
|
|
|
|
|
|
|
|
|