diff options
Diffstat (limited to 'util/install/arch.sh')
| -rwxr-xr-x | util/install/arch.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/util/install/arch.sh b/util/install/arch.sh new file mode 100755 index 000000000..7442e2f13 --- /dev/null +++ b/util/install/arch.sh | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | _qmk_install() { | ||
| 4 | echo "Installing dependencies" | ||
| 5 | |||
| 6 | sudo pacman --needed --noconfirm -S \ | ||
| 7 | base-devel clang diffutils gcc git unzip wget zip \ | ||
| 8 | python-pip \ | ||
| 9 | avr-binutils \ | ||
| 10 | arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \ | ||
| 11 | avrdude dfu-programmer dfu-util | ||
| 12 | sudo pacman --needed --noconfirm -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz | ||
| 13 | sudo pacman --needed --noconfirm -S avr-libc # Must be installed after the above, or it will bring in the latest avr-gcc instead | ||
| 14 | |||
| 15 | python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt | ||
| 16 | } | ||
