更新 Mediatek.sh

Signed-off-by: zhao <zj18139624826@gmail.com>
This commit is contained in:
zhao 2025-06-16 10:03:56 +08:00
parent 8ea5a66ca1
commit 2dd8dd68db

View File

@ -85,14 +85,14 @@ EOF
endgroup
# 加载缓存
# group "加载缓存"
# curl -L https://$github/oppen321/openwrt_caches/releases/download/OpenWrt_Toolchain_Cache/toolchain_gcc8_mediatek.tar.zst -o toolchain.tar.zst $CURL_BAR
# tar -I "zstd" -xf toolchain.tar.zst
# rm -f toolchain.tar.zst
# mkdir bin
# find ./staging_dir/ -name '*' -exec touch {} \; >/dev/null 2>&1
# find ./tmp/ -name '*' -exec touch {} \; >/dev/null 2>&1
# endgroup
group "加载缓存"
curl -L https://$github/zhiern/OpenWRT-Mediatek/releases/download/Cache/toolchain_mediatek_gcc-8.tar.zst -o toolchain.tar.zst $CURL_BAR
tar -I "zstd" -xf toolchain.tar.zst
rm -f toolchain.tar.zst
mkdir bin
find ./staging_dir/ -name '*' -exec touch {} \; >/dev/null 2>&1
find ./tmp/ -name '*' -exec touch {} \; >/dev/null 2>&1
endgroup
# 生成默认配置
group "生成默认配置"