Updated MODDESTDIR to match the structure of the latest kernel tree.

This means it's not installed in the generic 'wireless' directory, but
in a directory matching the driver name under 'rtlwifi'.
With latest kernel tree I mean the kernel.org structure on the date of
this commit.
This commit is contained in:
Diederik de Haas 2014-09-05 03:27:55 +02:00
parent 95cf402042
commit 5e46ff3dd2

View File

@ -653,7 +653,7 @@ ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/rtlwifi/rtl8812au/
INSTALL_PREFIX :=
endif
@ -735,7 +735,7 @@ ARCH := arm
CROSS_COMPILE := arm-linux-gnueabi-
KVER := $(shell uname -r)
KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/rtlwifi/rtl8812au/
endif
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)