Update Dockerfile to modify Rust Makefile

Disable LLVM CI download in Rust package Makefile.
This commit is contained in:
Nils Andreas Svee authored and GitHub committed 2026-04-22 01:05:16 +07:00
1 parent dd394d7a57
commit 36e69fdd67
1 file changed
+1
+1
View File
@@ -6,6 +6,7 @@ FROM ghcr.io/openwrt/sdk:${SAFE_TARGET}-${VERSION}
RUN ./scripts/feeds update packages && \
./scripts/feeds install rust && \
make defconfig && \
sed -i 's/--set=llvm.download-ci-llvm=true/--set=llvm.download-ci-llvm=false/g' feeds/packages/lang/rust/Makefile; \
{ make package/rust/host/compile -j$(nproc) || \
make package/rust/host/compile -j1 V=sc; } && \
rm -rf build_dir/host/rustc-*/rustc-*/build \