mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-29 16:37:40 +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:
parent
e9fbf5c051
commit
43af1cdf7c
@ -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
|
$ 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
|
$ sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user