A small How-to for compiling the rtl8822bu
wifi drivers on a Raspberry Pi.
Tested with the EDIMAX EW-7822UTC AC1200
sudo apt install raspberrypi-kernel-headers
cd ~
git clone https://github.com/EntropicEffect/rtl8822bu --depth 1
cd rtl8822bu
Change architecture because uname -m
return armv7l
instead of arm
nano Makefile
Go to line ~1100 right after ifeq ($(CONFIG_PLATFORM_I386_PC)
and change the following:
# change
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
# to
SUBARCH := arm
make -j`nproc`
sudo make install
sudo reboot