mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
net: wireless: rtlwifi: Do not always include drivers in obj-m
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>
This commit is contained in:
parent
34b5d778b5
commit
927a70874c
4 changed files with 0 additions and 12 deletions
|
@ -1,6 +1,3 @@
|
|||
obj-m := rtl8192ee.o
|
||||
|
||||
|
||||
rtl8192ee-objs := \
|
||||
dm.o \
|
||||
fw.o \
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
obj-m := rtl8723ae.o
|
||||
|
||||
|
||||
rtl8723ae-objs := \
|
||||
dm.o \
|
||||
fw.o \
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
obj-m := rtl8723be.o
|
||||
|
||||
|
||||
rtl8723be-objs := \
|
||||
dm.o \
|
||||
fw.o \
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
obj-m := rtl8821ae.o
|
||||
|
||||
|
||||
rtl8821ae-objs := \
|
||||
dm.o \
|
||||
fw.o \
|
||||
|
|
Loading…
Reference in a new issue