From 89ed87e89618f7b3e50cecb5ccdb4b4296dcf75c Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 08 Apr 2024 10:15:46 +0800
Subject: [PATCH] PATCH:Alientek-IMX6ULL: Add USB support on Alientek i.MX6ULL v20/v24 board

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