From 7948cbd9c6e08fb38eb516c444bc728035a809b1 Mon Sep 17 00:00:00 2001 From: zhao Date: Fri, 21 Mar 2025 15:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20toolchain/build.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- toolchain/build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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