Skip to content

Commit 68c9234

Browse files
committed
ci: Update mipsel CI target to openwrt-23.05.0-rc4.
1 parent 342485b commit 68c9234

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

ci/docker/mipsel-unknown-linux-musl/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ RUN mkdir /toolchain
99
# Linux kernel version: 5.4.154
1010
# See build_dir/target-mipsel_mips32_musl/linux-brcm47xx_generic/linux-5.4.154
1111
# Musl version: 1.1.24
12-
# See staging_dir/toolchain-mipsel_mips32_gcc-8.4.0_musl/info.mk
13-
RUN curl --retry 5 -L https://downloads.openwrt.org/releases/21.02.1/targets/bcm47xx/generic/openwrt-sdk-21.02.1-bcm47xx-generic_gcc-8.4.0_musl.Linux-x86_64.tar.xz | \
12+
# See staging_dir/toolchain-mipsel_mips32_gcc-12.3.0_musl/info.mk
13+
RUN curl --retry 5 -L https://downloads.openwrt.org/releases/23.05.0-rc4/targets/bcm47xx/generic/openwrt-sdk-23.05.0-rc4-bcm47xx-generic_gcc-12.3.0_musl.Linux-x86_64.tar.xz |\
1414
tar xJf - -C /toolchain --strip-components=1
1515

16-
# See https://lkml.org/lkml/2014/3/14/269
1716
COPY sysinfo_guard.patch /toolchain
18-
RUN patch /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-8.4.0_musl/include/linux/kernel.h </toolchain/sysinfo_guard.patch
17+
RUN patch /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-12.3.0_musl/include/linux/kernel.h </toolchain/sysinfo_guard.patch
1918

20-
ENV PATH=$PATH:/rust/bin:/toolchain/staging_dir/toolchain-mipsel_mips32_gcc-8.4.0_musl/bin \
19+
ENV PATH=$PATH:/rust/bin:/toolchain/staging_dir/toolchain-mipsel_mips32_gcc-12.3.0_musl/bin \
2120
STAGING_DIR=/toolchain/staging_dir \
2221
CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-musl-gcc \
2322
CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=mipsel-openwrt-linux-musl-gcc \
24-
CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mipsel -L /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-8.4.0_musl" \
25-
RUSTFLAGS="-L /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-8.4.0_musl/lib"
23+
CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mipsel -L /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-13.3.0_musl" \
24+
RUSTFLAGS="-L /toolchain/staging_dir/toolchain-mipsel_mips32_gcc-12.3.0_musl/lib"

0 commit comments

Comments
 (0)