Skip to content

Build Method 1: Native Build from Source

This method involves compiling the backport driver from the source directly onto the target platform. It provides more flexibility and is suitable for platforms running a vendor-customized Linux kernel where the DKMS package may not be available.

Clone and Build

To clone and build the driver, run these commands:

git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi
make defconfig-iwlwifi-public
make -j$(nproc)

Selecting a Release

By default, the git command clones the latest development branch. To use a specific release, check out the desired branch or tag after cloning: git checkout <branch or tag> (e.g., git checkout release/core103).

Install

Once the build completes successfully, install the driver modules and update module dependencies by running these commands:

sudo make install
sudo depmod -a

Firmware

For firmware installation, refer to the Firmware Installation page.