@@ -165,20 +165,20 @@ ENV MIPS_ELF_ROOT /opt/mips-mti-elf/${MIPS_VERSION}
165
165
ENV PATH ${PATH}:${MIPS_ELF_ROOT}/bin
166
166
167
167
# Install RISC-V binary toolchain
168
- ARG RISCV_VERSION=10 .2.0-1. 2
168
+ ARG RISCV_VERSION=13 .2.0-2
169
169
RUN mkdir -p /opt && \
170
- wget -q https://github.com/xpack-dev-tools/riscv-none-embed -gcc-xpack/releases/download/v${RISCV_VERSION}/xpack-riscv-none-embed -gcc-${RISCV_VERSION}-linux-x64.tar.gz -O- \
170
+ wget -q https://github.com/xpack-dev-tools/riscv-none-elf -gcc-xpack/releases/download/v${RISCV_VERSION}/xpack-riscv-none-elf -gcc-${RISCV_VERSION}-linux-x64.tar.gz -O- \
171
171
| tar -C /opt -xz && \
172
172
echo 'Removing documentation' >&2 && \
173
- rm -rf /opt/xpack-riscv-none-embed -gcc-${RISCV_VERSION}/share/doc && \
173
+ rm -rf /opt/xpack-riscv-none-elf -gcc-${RISCV_VERSION}/share/doc && \
174
174
echo 'Deduplicating binaries' >&2 && \
175
- cd /opt/xpack-riscv-none-embed -gcc-${RISCV_VERSION}/riscv-none-embed /bin && \
176
- for f in *; do test -f "../../bin/riscv-none-embed -$f" && \
177
- ln -f "../../bin/riscv-none-embed -$f" "$f" ; \
175
+ cd /opt/xpack-riscv-none-elf -gcc-${RISCV_VERSION}/riscv-none-elf /bin && \
176
+ for f in *; do test -f "../../bin/riscv-none-elf -$f" && \
177
+ ln -f "../../bin/riscv-none-elf -$f" "$f" ; \
178
178
done && \
179
179
cd -
180
180
181
- ENV PATH $PATH:/opt/xpack-riscv-none-embed -gcc-${RISCV_VERSION}/bin
181
+ ENV PATH $PATH:/opt/xpack-riscv-none-elf -gcc-${RISCV_VERSION}/bin
182
182
183
183
# Install complete ESP8266 toolchain in /opt/esp (139 MB after cleanup)
184
184
# remember https://github.com/RIOT-OS/RIOT/pull/10801 when updating
@@ -282,14 +282,14 @@ RUN echo 'Building and Installing PicoLIBC' >&2 && \
282
282
tar -xf ${PICOLIBC_ARCHIVE} && \
283
283
cd picolibc-${PICOLIBC_TAG}
284
284
285
- COPY cross-riscv-none-embed .txt /usr/src/picolibc/picolibc-${PICOLIBC_TAG}/
285
+ COPY cross-riscv-none-elf .txt /usr/src/picolibc/picolibc-${PICOLIBC_TAG}/
286
286
287
287
RUN cd /usr/src/picolibc/picolibc-${PICOLIBC_TAG} && \
288
- which riscv-none-embed -gcc && \
289
- ls -al /opt/xpack-riscv-none-embed -gcc-${RISCV_VERSION}/bin && \
288
+ which riscv-none-elf -gcc && \
289
+ ls -al /opt/xpack-riscv-none-elf -gcc-${RISCV_VERSION}/bin && \
290
290
mkdir build-arm build-riscv build-esp32 && \
291
291
cd build-riscv && \
292
- meson .. -Dtests=true -Dmultilib=false -Dincludedir=picolibc/riscv-none-embed /include -Dlibdir=picolibc/riscv-none-embed /lib --cross-file ../cross-riscv-none-embed .txt && \
292
+ meson .. -Dtests=true -Dmultilib=false -Dincludedir=picolibc/riscv-none-elf /include -Dlibdir=picolibc/riscv-none-elf /lib --cross-file ../cross-riscv-none-elf .txt && \
293
293
ninja && ninja install && \
294
294
cd ../build-esp32 && \
295
295
sh ../do-esp32-configure && \
0 commit comments