1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 15:14:02 +00:00

Changed macro KSRC to be parametrizable instead of being hardcoded

This commit is contained in:
kimocoder 2018-08-04 20:18:01 +02:00
parent 25f5188819
commit f475f2ff74
2 changed files with 1 additions and 3 deletions

View File

@ -1037,7 +1037,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/aarch64/arm64/ )
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging

View File

@ -74,8 +74,6 @@ sudo iw wlan0 set txpower fixed 3000
### LED control
Thanks to @dkadioglu and others for a start on this.
#### You can now control LED behaviour statically by Makefile, for example:
```sh