These wireless drivers are recommended to build at host than the target. We never build these drivers at target.
Compatible Linux versions: Linux-5.9.8
export cross-compiler
build linux, assume /path/to/linux
CONFIG_WIRELESS=y CONFIG_CFG80211=y CONFIG_MAC80211=y CONFIG_CFG80211_WEXT=y
CONFIG_WLAN=y
build rtl8822cs
$ cd rtl8822cs $ make ARCH=arm64 -C "/path/to/linux" M="/path/to/rtl8822cs" CONFIG_RTL8822CS=m $ make ARCH=arm64 -C "/path/to/linux" M="/path/to/rtl8822cs" INSTALL_MOD_PATH="/path/to/modules" modules_install