更新 toolchain/build.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-03-21 15:53:20 +08:00
parent a34c7bf41a
commit 5b1c53f48e

View File

@ -12,6 +12,10 @@ fi
# Enter source code # Enter source code
cd openwrt cd openwrt
# Init feeds
./scripts/feeds update -a
./scripts/feeds install -a
# Load devices Config # Load devices Config
if [ "$model" = "Padavanonly_MT798X_v24.10" ]; then if [ "$model" = "Padavanonly_MT798X_v24.10" ]; then
cp -f defconfig/mt7981-ax3000.config .config cp -f defconfig/mt7981-ax3000.config .config
@ -21,10 +25,6 @@ elif [ "$model" = "OpenWrt_Rockchip_v24.10" ] || [ "$model" = "OpenWrt_X86_64_v2
cp -f defconfig/mt7981-ax3000.config .config cp -f defconfig/mt7981-ax3000.config .config
fi fi
# Init feeds
./scripts/feeds update -a
./scripts/feeds install -a
# Compile # Compile
make defconfig make defconfig
make -j$(nproc) make -j$(nproc)