mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 22:45:23 +07:00
927a70874c
In four of the rtlwifi drivers, the Makefile contains superfluous statements indicating the compilation of the driver as an LKM regardless of the corresponding Kconfig option. If the corresponding option is set to 'y', the build system will then see the object file in obj-m and obj-y, which leads to a compilation as a built-in only. Even though this leads to the desired behavior, the unconditional appearance in obj-m is confusing for someone reading the Makefile. This patch removes the superfluous Makefile statements. Signed-off-by: Andreas Ruprecht <rupran@einserver.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
17 lines
204 B
Makefile
17 lines
204 B
Makefile
rtl8821ae-objs := \
|
|
dm.o \
|
|
fw.o \
|
|
hw.o \
|
|
led.o \
|
|
phy.o \
|
|
pwrseq.o \
|
|
rf.o \
|
|
sw.o \
|
|
table.o \
|
|
trx.o \
|
|
|
|
|
|
obj-$(CONFIG_RTL8821AE) += rtl8821ae.o
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|