mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 11:47:32 +06:00
20 lines
468 B
Bash
20 lines
468 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
_qmk_install_prepare() {
|
||
|
sudo eopkg -y update-repo
|
||
|
sudo eopkg -y upgrade
|
||
|
}
|
||
|
|
||
|
_qmk_install() {
|
||
|
echo "Installing dependencies"
|
||
|
|
||
|
sudo eopkg -y install \
|
||
|
-c system.devel git wget zip unzip \
|
||
|
python3 \
|
||
|
avr-binutils avr-gcc avr-libc \
|
||
|
arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-newlib \
|
||
|
avrdude dfu-programmer dfu-util
|
||
|
|
||
|
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
|
||
|
}
|