mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
0f5f6a6a75
On fedora 33, libusb-devel is required to build BootloadHID
16 lines
519 B
Bash
Executable File
16 lines
519 B
Bash
Executable File
#!/bin/bash
|
|
|
|
_qmk_install() {
|
|
echo "Installing dependencies"
|
|
|
|
# TODO: Check whether devel/headers packages are really needed
|
|
sudo dnf -y install \
|
|
clang diffutils git gcc glibc-headers kernel-devel kernel-headers make unzip wget zip \
|
|
python3 \
|
|
avr-binutils avr-gcc avr-libc \
|
|
arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-newlib \
|
|
avrdude dfu-programmer dfu-util libusb-devel
|
|
|
|
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
|
|
}
|