mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +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
|
||||
```
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user