mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Changed macro KSRC to be parametrizable instead of being hardcoded
This commit is contained in:
parent
25f5188819
commit
f475f2ff74
2
Makefile
2
Makefile
@ -1037,7 +1037,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/aarch64/arm64/ )
|
|||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER := $(shell uname -r)
|
KVER := $(shell uname -r)
|
||||||
KSRC := /lib/modules/$(KVER)/build
|
KSRC ?= /lib/modules/$(KVER)/build
|
||||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
||||||
|
@ -74,8 +74,6 @@ sudo iw wlan0 set txpower fixed 3000
|
|||||||
|
|
||||||
### LED control
|
### LED control
|
||||||
|
|
||||||
Thanks to @dkadioglu and others for a start on this.
|
|
||||||
|
|
||||||
#### You can now control LED behaviour statically by Makefile, for example:
|
#### You can now control LED behaviour statically by Makefile, for example:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user