diff options
author | Ryan <[email protected]> | 2020-11-27 01:37:54 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-26 14:37:54 +0000 |
commit | c21d5a09735e84412ee5b3efb4c3f5d3fc734393 (patch) | |
tree | c2b8405f45fb6f00b063561056fca4c5aad28bf8 /util/install/arch.sh | |
parent | 3afe0ea9b9f67ae33f54c1393b15d988764241a2 (diff) | |
download | qmk_firmware-c21d5a09735e84412ee5b3efb4c3f5d3fc734393.tar.gz qmk_firmware-c21d5a09735e84412ee5b3efb4c3f5d3fc734393.zip |
Refactor qmk_install.sh (#10681)0.10.54
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 0000000000..7442e2f136 --- /dev/null +++ b/util/install/arch.sh @@ -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 +} |