1
0
Fork 0

Refactor qmk_install.sh (#10681)

This commit is contained in:
Ryan 2020-11-27 01:37:54 +11:00 committed by GitHub
parent 3afe0ea9b9
commit c21d5a0973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 360 additions and 369 deletions

16
util/install/arch.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
_qmk_install() {
echo "Installing dependencies"
sudo pacman --needed --noconfirm -S \
base-devel clang diffutils gcc git unzip wget zip \
python-pip \
avr-binutils \
arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \
avrdude dfu-programmer dfu-util
sudo pacman --needed --noconfirm -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz
sudo pacman --needed --noconfirm -S avr-libc # Must be installed after the above, or it will bring in the latest avr-gcc instead
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
}