Files
pilivestreamingtools/build-rtl8812au.sh
2020-10-06 19:15:22 +02:00

14 lines
346 B
Bash
Executable File

sudo apt-get install raspberrypi-kernel-headers
git clone -b v5.7.0 --single-branch --depth 1 https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
make -j4
sudo make install
cd ..