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

This commit is contained in:
Daniel Shields 2018-10-29 20:48:24 +00:00 committed by Drashna Jaelre
parent 1e96346f28
commit 1fa6c1d818

View file

@ -96,9 +96,13 @@ elif grep ID /etc/os-release | grep -q gentoo; then
fi fi
elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then 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 \ sudo zypper install \
avr-libc \ avr-libc \
cross-avr-gcc8 \ $CROSS_AVR_GCC \
cross-avr-binutils \ cross-avr-binutils \
cross-arm-none-newlib-devel \ cross-arm-none-newlib-devel \
cross-arm-binutils cross-arm-none-newlib-devel \ cross-arm-binutils cross-arm-none-newlib-devel \