rtlwifi: Let rtlwifi build when PCI is not enabled

On systems where PCI does not exist, a build of rtlwifi will fail.
Apply the same fix in case there are systems with PCI but not USB.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Willy Tarreau 2011-02-20 11:43:07 +01:00 committed by John W. Linville
parent 4c0f13f3e7
commit 892c05c093
1 changed files with 4 additions and 1 deletions

View File

@ -5,12 +5,15 @@ rtlwifi-objs := \
core.o \
debug.o \
efuse.o \
pci.o \
ps.o \
rc.o \
regd.o \
usb.o
ifeq ($(CONFIG_PCI),y)
rtlwifi-objs += pci.o
endif
obj-$(CONFIG_RTL8192CE) += rtl8192ce/
obj-$(CONFIG_RTL8192CU) += rtl8192cu/