Make linux_install.sh work with openSUSE Leap 15.0 (#4218)

daktil_manuform
Daniel Shields 2018-10-29 20:48:24 +00:00 committed by Drashna Jaelre
parent 1e96346f28
commit 1fa6c1d818
1 changed files with 5 additions and 1 deletions

View File

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