summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/rt2x00/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rt2x00/src/Makefile b/package/rt2x00/src/Makefile
index 842afbac2..7ba0a81e7 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