Merge commit '6d0a62920410f50d7f6707960ca1ca0c8fd1d1fa' into firmware21
This commit is contained in:
@@ -6,7 +6,8 @@ _qmk_install() {
|
||||
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
|
||||
arm-none-eabi-newlib avrdude dfu-programmer dfu-util \
|
||||
riscv64-elf-binutils riscv64-elf-gcc riscv64-elf-newlib
|
||||
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
|
||||
|
||||
|
||||
@@ -11,11 +11,18 @@ _qmk_install_prepare() {
|
||||
_qmk_install() {
|
||||
echo "Installing dependencies"
|
||||
|
||||
sudo apt-get -yq install \
|
||||
sudo apt-get --quiet --yes install \
|
||||
build-essential clang-format diffutils gcc git unzip wget zip \
|
||||
python3-pip binutils-avr gcc-avr avr-libc binutils-arm-none-eabi \
|
||||
gcc-arm-none-eabi libnewlib-arm-none-eabi avrdude dfu-programmer \
|
||||
dfu-util teensy-loader-cli libhidapi-hidraw0 libusb-dev
|
||||
|
||||
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
|
||||
# RISC-V toolchains with picolibc support are only available for distributions based on Debian 11+.
|
||||
if sudo apt-get install --simulate --quiet --yes picolibc-riscv64-unknown-elf gcc-riscv64-unknown-elf binutils-riscv64-unknown-elf > /dev/null 2>&1; then
|
||||
sudo apt-get --quiet --yes install picolibc-riscv64-unknown-elf \
|
||||
gcc-riscv64-unknown-elf \
|
||||
binutils-riscv64-unknown-elf
|
||||
fi
|
||||
|
||||
python3 -m pip install --user -r "$QMK_FIRMWARE_DIR"/requirements.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user