Commit 927a7087 authored by Andreas Ruprecht's avatar Andreas Ruprecht Committed by John W. Linville

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: default avatarAndreas Ruprecht <rupran@einserver.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 34b5d778
obj-m := rtl8192ee.o
rtl8192ee-objs := \
dm.o \
fw.o \
......
obj-m := rtl8723ae.o
rtl8723ae-objs := \
dm.o \
fw.o \
......
obj-m := rtl8723be.o
rtl8723be-objs := \
dm.o \
fw.o \
......
obj-m := rtl8821ae.o
rtl8821ae-objs := \
dm.o \
fw.o \
......
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