1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-19 20:50:41 +00:00

Fix Raspbian Buster Instructions for v5.6.4.2

Version `v5.6.4.2` does not have a `dkms_install.sh` file, so set export `ARCH` variable in current shell instead.
This commit is contained in:
Derek Gaffney 2020-12-09 00:55:14 -05:00 committed by GitHub
parent e9fbf5c051
commit 43af1cdf7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,9 +120,9 @@ $ sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
$ sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
```
In addition, if you receive an error message about `unrecognized command line option -mgeneral-regs-only` (i.e., Raspbian Buster), you will need to run the following commands:
In addition, if you receive an error message about `unrecognized command line option -mgeneral-regs-only` (i.e., Raspbian Buster), you will need to run the following commands, then retry building and installing:
```
$ sed -i 's/^dkms build/ARCH=arm dkms build/' dkms-install.sh
$ export ARCH=arm
$ sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
```