diff --git a/toolchain/build.sh b/toolchain/build.sh index 8e99cac..7cd42be 100644 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -12,6 +12,10 @@ fi # Enter source code cd openwrt +# Init feeds +./scripts/feeds update -a +./scripts/feeds install -a + # Load devices Config if [ "$model" = "Padavanonly_MT798X_v24.10" ]; then 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 fi -# Init feeds -./scripts/feeds update -a -./scripts/feeds install -a - # Compile make defconfig make -j$(nproc)