1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 13:24:36 +00:00

Support in-tree compilation

This commit is contained in:
kimocoder 2020-02-01 07:26:27 +01:00
parent 4b7b6ad3de
commit 1a9bc08949

View File

@ -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 #################################