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

18
util/install/freebsd.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
_qmk_install_prepare() {
sudo pkg update
}
_qmk_install() {
echo "Installing dependencies"
sudo pkg install -y \
git wget gmake gcc zip unzip diffutils \
python3 \
avr-binutils avr-gcc avr-libc \
arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \
avrdude dfu-programmer dfu-util
sudo python3 -m pip install -r $QMK_FIRMWARE_DIR/requirements.txt
}