mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 20:44:32 +08:00
892c05c093
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>
21 lines
321 B
Makefile
21 lines
321 B
Makefile
obj-$(CONFIG_RTLWIFI) += rtlwifi.o
|
|
rtlwifi-objs := \
|
|
base.o \
|
|
cam.o \
|
|
core.o \
|
|
debug.o \
|
|
efuse.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/
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|