From dae8bad597b6607a449b32bf76c523423f7720ed Mon Sep 17 00:00:00 2001
From: lin <lin@kickpi.com>
Date: Thu, 14 Aug 2025 09:38:29 +0000
Subject: [PATCH] feat(autoboot): Add detection SD card kickpi file to start aging testing function

---
 build.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 4ced701..0a4017f 100755
--- a/build.sh
+++ b/build.sh
@@ -38,7 +38,9 @@
     source $BOARD_CONFIG_FILE
     echo "you board is ${DTS_NAME}"
 
+    ln -rsf "${DTS_DIR}/${DTS_NAME}.fex" "${DTS_DIR}/sys_config.fex"
     echo "Start clean kerenl"
+
     cd longan/kernel/linux-4.9 && make clean -j32 && cd -
     source $BOARD_CONFIG_FILE
     longan/build/mkcommon.sh autoconfig -i a133 -o android -b c3
@@ -153,7 +155,7 @@
             build
         done
     else
-        build  && exit 0
+        build $@  && exit 0
     fi
 
 fi

--
Gitblit v1.6.2