From 98d6403d29f1e5ca0f3888b3cbd355f01408b061 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 18 Dec 2021 14:37:53 +0800
Subject: [PATCH] update build.sh support driver build

---
 bsp/kernel/build.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bsp/kernel/build.sh b/bsp/kernel/build.sh
index aece0e5..ae6c5f1 100755
--- a/bsp/kernel/build.sh
+++ b/bsp/kernel/build.sh
@@ -98,6 +98,7 @@
     set +x
 
     if [ $INST_DRIVER != 0 ]  ;then
+        rm -rf ${PRJ_PATH}/../rootfs/driver
         make modules_install INSTALL_MOD_PATH=${PRJ_PATH}/../rootfs/driver INSTALL_MOD_STRIP=1
     fi
 

--
Gitblit v1.9.1