Skip to content

Commit

Permalink
Change ARM and RISCV crosscompilers
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksejZhmulin committed Apr 2, 2024
1 parent 76214db commit d14ae02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,19 @@ RUN apt-get update && \
rm /etc/apt/sources.list.d/bullseye.list

## Install crosscompilers
RUN for a in aarch64 microblaze mips powerpc sparc; do \
curl -k -L "https://github.com/embox/crosstool/releases/download/2.42-13.2.0-14.2/$a-elf-toolchain.tar.bz2" | \
RUN for a in aarch64-elf arm-none-eabi microblaze-elf mips-elf powerpc-elf riscv64-unknown-elf sparc-elf; do \
curl -k -L "https://github.com/embox/crosstool/releases/download/2.42-13.2.0-14.2/$a-toolchain.tar.bz2" | \
tar -jxC /opt; \
done

## Set environment variables
ENV PATH=$PATH:\
/opt/aarch64-elf-toolchain/bin:\
/opt/arm-none-eabi-toolchain/bin:\
/opt/microblaze-elf-toolchain/bin:\
/opt/mips-elf-toolchain/bin:\
/opt/powerpc-elf-toolchain/bin:\
/opt/riscv64-unknown-elf-toolchain/bin:\
/opt/sparc-elf-toolchain/bin

## Allow members of group sudo to execute any command
Expand Down

0 comments on commit d14ae02

Please sign in to comment.