From 8829b120649c2367a8dfdca454fe4c6a4b74f9d7 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 05 Apr 2024 19:37:43 +0800
Subject: [PATCH] Driver:IGKBoard-IMX6ULL: Update driver build shell script to add depmod for wifi driver

---
 drivers/igkboard-imx6ull/build.sh |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/igkboard-imx6ull/build.sh b/drivers/igkboard-imx6ull/build.sh
index c5f9f8a..e1caac0 100755
--- a/drivers/igkboard-imx6ull/build.sh
+++ b/drivers/igkboard-imx6ull/build.sh
@@ -166,8 +166,10 @@
     pr_warn "start build $SRC USB WiFi driver"
     make -j ${JOBS} modules
 
-    mkdir -p ${DRV_PATH}/lib/firmware/rtlwifi/
     cp rtl8188fu.ko ${DRV_PATH}/lib/modules/${KER_VER}-dirty/extra/
+    depmod -a -b ${DRV_PATH}/ ${KER_VER}-dirty
+
+    mkdir -p ${DRV_PATH}/lib/firmware/rtlwifi/
     cp firmware/rtl8188fufw.bin ${DRV_PATH}/lib/firmware/rtlwifi/
 }
 
@@ -185,7 +187,7 @@
 {
     cd $PRJ_PATH
 
-    rm -rf rtl8188fu tarballs 
+    rm -rf rtl8188fu tarballs
 
     if [ -d user ] ; then
         cd user

--
Gitblit v1.9.1