Add missing arm gcc compiler for openSUSE 15.0 and Tumbleweed.

master
Daniel Shields 2018-11-12 12:02:51 +00:00 committed by Drashna Jaelre
parent b26ccf9a2f
commit 2509039abf
1 changed files with 3 additions and 0 deletions

View File

@ -112,12 +112,15 @@ elif grep ID /etc/os-release | grep -q sabayon; then
elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then
CROSS_AVR_GCC=cross-avr-gcc8
CROSS_ARM_GCC=cross-arm-none-gcc8
if grep ID /etc/os-release | grep -q "15.0"; then
CROSS_AVR_GCC=cross-avr-gcc7
CROSS_ARM_GCC=cross-arm-none-gcc7
fi
sudo zypper install \
avr-libc \
$CROSS_AVR_GCC \
$CROSS_ARM_GCC \
cross-avr-binutils \
cross-arm-none-newlib-devel \
cross-arm-binutils cross-arm-none-newlib-devel \