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 4, 2024
1 parent 9bc26bc commit 91ad571
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ RUN apt-get update && \
cpio \
build-essential \
binutils \
binutils-arm-none-eabi \
binutils-riscv64-unknown-elf \
gcc \
gcc-arm-none-eabi \
gcc-riscv64-unknown-elf \
gcc-multilib \
g++-multilib \
gdb \
qemu-system \
ruby \
bison \
Expand Down Expand Up @@ -77,17 +70,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 91ad571

Please sign in to comment.