since we're now using arduino's tools builds, we don't need to set the path to /usr/local/bin on FreeBSD

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 2770a26e8a
commit 117b705612
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -14,23 +14,18 @@ fi
if [ "${ARCH}" = "virtual" ]; then if [ "${ARCH}" = "virtual" ]; then
: "${FQBN:=keyboardio:virtual:${BOARD}}" : "${FQBN:=keyboardio:virtual:${BOARD}}"
if [ "${uname_S}" = "FreeBSD" ]; then
: "${COMPILER_PATH:=/usr/local/bin/}"
else
: "${COMPILER_PATH:=/usr/bin/}" : "${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

Loading…
Cancel
Save