X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b4c2371ebb2af4f08a7928bba82a3c3f77989f3e..7a694d4e5f8054d5c4b05fbed69fb1a38f387e29:/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