|
|
@ -14,23 +14,18 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${ARCH}" = "virtual" ]; then
|
|
|
|
if [ "${ARCH}" = "virtual" ]; then
|
|
|
|
: "${FQBN:=keyboardio:virtual:${BOARD}}"
|
|
|
|
: "${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=""
|
|
|
|
COMPILER_PREFIX=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
: "${FQBN:=keyboardio:${ARCH}:${BOARD}}"
|
|
|
|
: "${FQBN:=keyboardio:${ARCH}:${BOARD}}"
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${uname_S}" = "FreeBSD" ]; then
|
|
|
|
if [ "${uname_O}" = "Cygwin" ]; 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
|
|
|
|
|
|
|
|
# The Windows arduino-builder.exe doesn't understand being told to exec against Cygwin symlinks
|
|
|
|
# The Windows arduino-builder.exe doesn't understand being told to exec against Cygwin symlinks
|
|
|
|
CCACHE_NOT_SUPPORTED=1
|
|
|
|
CCACHE_NOT_SUPPORTED=1
|
|
|
|
|
|
|
|
|
|
|
|