From 0ba5bf552d2fdab95409234e0d32a2ca2b281650 Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Tue, 6 Oct 2020 19:15:22 +0200 Subject: [PATCH] rtl8812au --- .gitignore | 2 +- build-rtl8812au.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 build-rtl8812au.sh diff --git a/.gitignore b/.gitignore index fa71346..5e29dc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ FFmpeg nginx-1.18.0 nginx-rtmp-module - +rtl8812au diff --git a/build-rtl8812au.sh b/build-rtl8812au.sh new file mode 100755 index 0000000..4c1a800 --- /dev/null +++ b/build-rtl8812au.sh @@ -0,0 +1,13 @@ +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 ..