X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b4c2371ebb2af4f08a7928bba82a3c3f77989f3e..ebe4d354283f45ba15f83d080e8a93a46ee29a9e:/package/rt2x00/src/Makefile diff --git a/package/rt2x00/src/Makefile b/package/rt2x00/src/Makefile index dd32cf6a2..97a88311c 100644 --- a/package/rt2x00/src/Makefile +++ b/package/rt2x00/src/Makefile @@ -46,11 +46,11 @@ rt2x00lib-objs := rt2x00dev.o rt2x00mac.o ifeq ($(CONFIG_RT2X00),y) obj-m += rt2x00lib.o -ifneq ($(CONFIG_PCI),) +ifeq ($(CONFIG_RT2X00PCI),y) obj-m += rt2x00pci.o endif -ifneq ($(CONFIG_USB),) +ifeq ($(CONFIG_RT2X00USB),y) obj-m += rt2x00usb.o endif @@ -97,6 +97,7 @@ endif endif MAKEFLAGS += --no-print-directory +CFLAGS := -include $(SUBDIRS)/rt2x00_compat.h $(CFLAGS) all: default