Skip to content

Commit

Permalink
Fix for building new drivers on Rasp Pi
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Nov 4, 2023
1 parent 94e9f49 commit 5c3d6a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SD/FPP-Wifi-Drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ rm -rf rtl8188fu
git clone https://github.com/morrownr/rtl8852bu
cd rtl8852bu/
for i in "${KVERS[@]}"; do
KVER=$i ARCH=arm make clean
KVER=$i ARCH=arm make -j ${CPUS}
KVER=$i ARCH=arm make install
KVER=$i ARCH=arm make clean "KVER=$i" "KSRC=/lib/modules/$i/build"
KVER=$i ARCH=arm make -j ${CPUS} "KVER=$i" "KSRC=/lib/modules/$i/build"
KVER=$i ARCH=arm make install "KVER=$i" "KSRC=/lib/modules/$i/build"
done
cd /opt/wifi
rm -rf rtl8852bu
Expand All @@ -184,9 +184,9 @@ git clone https://github.com/lwfinger/rtl8852au
cd rtl8852au/
mkdir -p /usr/lib/systemd/system-sleep/
for i in "${KVERS[@]}"; do
KVER=$i ARCH=arm make clean
KVER=$i ARCH=arm make -j ${CPUS}
KVER=$i ARCH=arm make install
KVER=$i ARCH=arm make clean "KVER=$i" "KSRC=/lib/modules/$i/build"
KVER=$i ARCH=arm make -j ${CPUS} "KVER=$i" "KSRC=/lib/modules/$i/build"
KVER=$i ARCH=arm make install "KVER=$i" "KSRC=/lib/modules/$i/build"
done
cd /opt/wifi
rm -rf rtl8852au
Expand Down

0 comments on commit 5c3d6a1

Please sign in to comment.