mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-22 08:24:41 +00:00
Void Linux: Switch to cross-arm-none-eabi toolchain (#9228)
This commit is contained in:
parent
306d02aa93
commit
c73125eea7
1 changed files with 3 additions and 9 deletions
|
@ -208,19 +208,13 @@ elif grep ID /etc/os-release | grep -q solus; then
|
||||||
printf "\n$SOLUS_INFO\n"
|
printf "\n$SOLUS_INFO\n"
|
||||||
|
|
||||||
elif grep ID /etc/os-release | grep -q void; then
|
elif grep ID /etc/os-release | grep -q void; then
|
||||||
# musl Void systems don't have glibc cross compilers avaliable in their repos.
|
|
||||||
# glibc Void systems do have musl cross compilers though, for some reason.
|
|
||||||
# So, default to musl, and switch to glibc if it is installed.
|
|
||||||
CROSS_ARM=cross-arm-linux-musleabi
|
|
||||||
if xbps-query glibc > /dev/null; then # Check is glibc if installed
|
|
||||||
CROSS_ARM=cross-arm-linux-gnueabi
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo xbps-install \
|
sudo xbps-install \
|
||||||
avr-binutils \
|
avr-binutils \
|
||||||
avr-gcc \
|
avr-gcc \
|
||||||
avr-libc \
|
avr-libc \
|
||||||
$CROSS_ARM \
|
cross-arm-none-eabi-binutils \
|
||||||
|
cross-arm-none-eabi-gcc \
|
||||||
|
cross-arm-none-eabi-newlib \
|
||||||
avrdude \
|
avrdude \
|
||||||
dfu-programmer \
|
dfu-programmer \
|
||||||
dfu-util \
|
dfu-util \
|
||||||
|
|
Loading…
Reference in a new issue