From 87c7c0d90966d729ca3d39cbfca77a39a43960eb Mon Sep 17 00:00:00 2001
From: liyujie <2352380935@qq.com>
Date: Fri, 29 Aug 2025 09:04:04 +0000
Subject: [PATCH] 解决板卡插入usb摄像头上电,打不开摄像头的问题

---
 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