mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +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
|
CONFIG_DRVEXT_MODULE = n
|
||||||
|
|
||||||
ifeq ($(CONFIG_RTL8812AU), )
|
ifeq ($(CONFIG_RTL8812AU), )
|
||||||
export TopDIR ?= $(shell pwd)
|
ifneq (,$(findstring /usr/lib/dkms,$(PATH)))
|
||||||
|
export TopDIR ?= $(shell pwd)
|
||||||
else
|
else
|
||||||
export TopDIR ?= $(shell pwd)/drivers/net/wireless/rtl8812au
|
export TopDIR ?= $(srctree)/$(src)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
########### COMMON #################################
|
########### COMMON #################################
|
||||||
|
Loading…
Reference in New Issue
Block a user