diff options
Diffstat (limited to 'util/install/opensuse.sh')
-rwxr-xr-x | util/install/opensuse.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/util/install/opensuse.sh b/util/install/opensuse.sh deleted file mode 100755 index 47b44ae36..000000000 --- a/util/install/opensuse.sh +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | _qmk_install_prepare() { | ||
4 | case $(grep ID /etc/os-release) in | ||
5 | *15.1*) | ||
6 | REPO_RELEASE=Leap_15.1;; | ||
7 | *15.2*) | ||
8 | REPO_RELEASE=Leap_15.2;; | ||
9 | *) | ||
10 | #REPO_RELEASE=Tumbleweed;; | ||
11 | echo "ERROR: Tumbleweed is currently not supported." | ||
12 | exit 1 | ||
13 | esac | ||
14 | |||
15 | sudo zypper addrepo https://download.opensuse.org/repositories/devel:gcc/openSUSE_$REPO_RELEASE/devel:gcc.repo | ||
16 | sudo zypper addrepo https://download.opensuse.org/repositories/hardware/openSUSE_$REPO_RELEASE/hardware.repo | ||
17 | sudo zypper --gpg-auto-import-keys refresh | ||
18 | } | ||
19 | |||
20 | _qmk_install() { | ||
21 | echo "Installing dependencies" | ||
22 | |||
23 | sudo zypper install -y \ | ||
24 | make clang gcc unzip wget zip \ | ||
25 | python3-pip \ | ||
26 | cross-avr-binutils cross-avr-gcc8 avr-libc \ | ||
27 | cross-arm-binutils cross-arm-none-gcc8 cross-arm-none-newlib-devel \ | ||
28 | avrdude dfu-programmer dfu-util | ||
29 | |||
30 | python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt | ||
31 | } | ||