diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/Makefile')
-rw-r--r-- | drivers/net/wireless/rtlwifi/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/Makefile b/drivers/net/wireless/rtlwifi/Makefile index c3e83a1da33b..9192fd583413 100644 --- a/drivers/net/wireless/rtlwifi/Makefile +++ b/drivers/net/wireless/rtlwifi/Makefile @@ -5,12 +5,18 @@ rtlwifi-objs := \ core.o \ debug.o \ efuse.o \ - pci.o \ ps.o \ rc.o \ regd.o \ usb.o +rtl8192c_common-objs += \ + +ifeq ($(CONFIG_PCI),y) +rtlwifi-objs += pci.o +endif + +obj-$(CONFIG_RTL8192C_COMMON) += rtl8192c/ obj-$(CONFIG_RTL8192CE) += rtl8192ce/ obj-$(CONFIG_RTL8192CU) += rtl8192cu/ |