diff --git a/toolchain/build.sh b/toolchain/build.sh index 98251e0..8e99cac 100644 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -13,7 +13,13 @@ fi cd openwrt # Load devices Config -cp -f defconfig/mt7981-ax3000.config .config +if [ "$model" = "Padavanonly_MT798X_v24.10" ]; then + cp -f defconfig/mt7981-ax3000.config .config +elif [ "$model" = "Hanwckf_MT798X_v21.02" ]; then + cp -f defconfig/mt7981-ax3000.config .config +elif [ "$model" = "OpenWrt_Rockchip_v24.10" ] || [ "$model" = "OpenWrt_X86_64_v24.10" ]; then + cp -f defconfig/mt7981-ax3000.config .config +fi # Init feeds ./scripts/feeds update -a