mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
6f56b06e74
When make with EXTRA_CFLAGS=-W, it will report error. so give a check in Makefile. Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
16 lines
354 B
Makefile
16 lines
354 B
Makefile
obj-$(CONFIG_WIL6210) += wil6210.o
|
|
|
|
wil6210-objs := main.o
|
|
wil6210-objs += netdev.o
|
|
wil6210-objs += cfg80211.o
|
|
wil6210-objs += pcie_bus.o
|
|
wil6210-objs += debugfs.o
|
|
wil6210-objs += wmi.o
|
|
wil6210-objs += interrupt.o
|
|
wil6210-objs += txrx.o
|
|
|
|
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
|
|
subdir-ccflags-y += -Werror
|
|
endif
|
|
subdir-ccflags-y += -D__CHECK_ENDIAN__
|