Commit 892c05c0 authored by Willy Tarreau's avatar Willy Tarreau Committed by John W. Linville

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: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4c0f13f3
...@@ -5,12 +5,15 @@ rtlwifi-objs := \ ...@@ -5,12 +5,15 @@ rtlwifi-objs := \
core.o \ core.o \
debug.o \ debug.o \
efuse.o \ efuse.o \
pci.o \
ps.o \ ps.o \
rc.o \ rc.o \
regd.o \ regd.o \
usb.o usb.o
ifeq ($(CONFIG_PCI),y)
rtlwifi-objs += pci.o
endif
obj-$(CONFIG_RTL8192CE) += rtl8192ce/ obj-$(CONFIG_RTL8192CE) += rtl8192ce/
obj-$(CONFIG_RTL8192CU) += rtl8192cu/ obj-$(CONFIG_RTL8192CU) += rtl8192cu/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment