mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-09 23:57:00 +00:00
Support in-tree compilation
This commit is contained in:
parent
4b7b6ad3de
commit
1a9bc08949
6
Makefile
6
Makefile
@ -158,9 +158,11 @@ CONFIG_CUSTOMER_HUAWEI_GENERAL = n
|
||||
CONFIG_DRVEXT_MODULE = n
|
||||
|
||||
ifeq ($(CONFIG_RTL8812AU), )
|
||||
export TopDIR ?= $(shell pwd)
|
||||
ifneq (,$(findstring /usr/lib/dkms,$(PATH)))
|
||||
export TopDIR ?= $(shell pwd)
|
||||
else
|
||||
export TopDIR ?= $(shell pwd)/drivers/net/wireless/rtl8812au
|
||||
export TopDIR ?= $(srctree)/$(src)
|
||||
endif
|
||||
endif
|
||||
|
||||
########### COMMON #################################
|
||||
|
Loading…
Reference in New Issue
Block a user