|
|
@ -26,7 +26,9 @@ if [ "${ARCH}" = "virtual" ]; then
|
|
|
|
COMPILER_PATH="/usr/bin/"
|
|
|
|
COMPILER_PATH="/usr/bin/"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${COMPILER_PREFIX}" = "avr-" ]; then
|
|
|
|
COMPILER_PREFIX=""
|
|
|
|
COMPILER_PREFIX=""
|
|
|
|
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ARCH="avr"
|
|
|
|
ARCH="avr"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@ -260,12 +262,10 @@ ARDUINO_IDE_VERSION="10607"
|
|
|
|
# Allow the compiler path to be empty for virtual builds
|
|
|
|
# Allow the compiler path to be empty for virtual builds
|
|
|
|
COMPILER_PATH="${COMPILER_PATH-${ARDUINO_TOOLS_PATH}/avr/bin/}"
|
|
|
|
COMPILER_PATH="${COMPILER_PATH-${ARDUINO_TOOLS_PATH}/avr/bin/}"
|
|
|
|
|
|
|
|
|
|
|
|
COMPILER_SUFFIX=""
|
|
|
|
C_COMPILER_BASENAME="${C_COMPILER_BASENAME:-$(basename ${CC:-gcc})}"
|
|
|
|
|
|
|
|
CXX_COMPILER_BASENAME="${CXX_COMPILER_BASENAME:-$(basename ${CXX:-g++})}"
|
|
|
|
C_COMPILER_BASENAME=$(basename ${CC:-gcc})
|
|
|
|
AR_BASENAME="${AR_BASENAME:-$(basename ${AR:-ar})}"
|
|
|
|
CXX_COMPILER_BASENAME=$(basename ${CXX:-g++})
|
|
|
|
OBJCOPY_BASENAME="${OBJCOPY_BASENAME:-$(basename ${OBJCOPY:-objcopy})}"
|
|
|
|
AR_BASENAME=$(basename ${AR:-ar})
|
|
|
|
|
|
|
|
OBJCOPY_BASENAME=$(basename ${OBJCOPY:-objcopy})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Allow the compiler prefix to be empty for virtual builds
|
|
|
|
# Allow the compiler prefix to be empty for virtual builds
|
|
|
|
COMPILER_PREFIX="${COMPILER_PREFIX-avr-}"
|
|
|
|
COMPILER_PREFIX="${COMPILER_PREFIX-avr-}"
|
|
|
|