summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDaniel Shields <daniel.shields@bcs.org>2018-10-29 21:48:24 +0100
committerDrashna Jaelre <drashna@live.com>2018-10-29 21:48:24 +0100
commit1fa6c1d818add2c72381639a836180af5aa86738 (patch)
tree358ee8b96dbe2cf29b6fd51b8a20403fde3cf5ce /util
parent1e96346f289ea235fc418ddc45203a599fd00c08 (diff)
downloadqmk_firmware-1fa6c1d818add2c72381639a836180af5aa86738.tar.gz
qmk_firmware-1fa6c1d818add2c72381639a836180af5aa86738.tar.xz
Make linux_install.sh work with openSUSE Leap 15.0 (#4218)
Diffstat (limited to 'util')
-rwxr-xr-xutil/linux_install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/linux_install.sh b/util/linux_install.sh
index 2c6cba53d..d3b9328d7 100755
--- a/util/linux_install.sh
+++ b/util/linux_install.sh
@@ -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 \