openedev / linux-rtl8822cs-wifi

13 stars 11 forks source link

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

  1. export cross-compiler

  2. build linux, assume /path/to/linux

    wireless core

    CONFIG_WIRELESS=y CONFIG_CFG80211=y CONFIG_MAC80211=y CONFIG_CFG80211_WEXT=y

    wireless drivers

    CONFIG_WLAN=y

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