提交 927a7087 编写于 作者: A Andreas Ruprecht 提交者: 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: NAndreas Ruprecht <rupran@einserver.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册