更新 toolchain/build.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
1df8212f5a
commit
f2e3945b84
@ -17,16 +17,13 @@ cp -f defconfig/mt7981-ax3000.config .config
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
# Compile toolchain
|
||||
make toolchain/compile -j$(nproc)
|
||||
|
||||
# Compile tool
|
||||
make tools/compile -j$(nproc)
|
||||
# Compile
|
||||
make -j$(nproc)
|
||||
|
||||
# Create folder
|
||||
mkdir toolchain-cache
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user