更新 toolchain/build.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-03-19 22:29:22 +08:00
parent e9a4491549
commit f7368fac3d

View File

@ -17,11 +17,16 @@ cp -f defconfig/mt7981-ax3000.config .config
./scripts/feeds update -a
./scripts/feeds install -a
# Compile
# Compile toolchain
make toolchain/compile -j$(nproc)
# Compile tool
make tools/compile -j$(nproc)
# Create folder
mkdir toolchain-cache
# Compression toolchain
tar -czvf toolchain-cache/toolchain.tar.gz toolchain
# tar -czvf toolchain-cache/toolchain.tar.gz toolchain
tar -czvf toolchain-cache/toolchain.tar.gz tools toolchain