openwrt: honour gcc extra configuration flags
[openwrt.git] / package / rt2x00 / src / Makefile
index 842afba..97a8831 100644 (file)
@@ -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
 
This page took 0.019801 seconds and 4 git commands to generate.