更新 toolchain/build.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-03-19 22:43:24 +08:00
parent 1df8212f5a
commit f2e3945b84

View File

@ -17,16 +17,13 @@ cp -f defconfig/mt7981-ax3000.config .config
./scripts/feeds update -a ./scripts/feeds update -a
./scripts/feeds install -a ./scripts/feeds install -a
# Compile toolchain # Compile
make toolchain/compile -j$(nproc) make -j$(nproc)
# Compile tool
make tools/compile -j$(nproc)
# Create folder # Create folder
mkdir toolchain-cache mkdir toolchain-cache
# Compression toolchain # Compression toolchain
tar -I zstd -cvf toolchain-cache/toolchain.tar.zst toolchain tar -I zstd -cvf toolchain-cache/toolchain_mediatek.tar.zst build_dir dl tmp staging_dir
# tar -czvf toolchain-cache/toolchain.tar.gz tools toolchain # tar -czvf toolchain-cache/toolchain.tar.gz tools toolchain