diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-11 07:01:53 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-16 10:33:42 -0500 |
commit | b39a691617e4a7ba83bb33386e09206e60261a22 (patch) | |
tree | 78e84edacc9083dbf9cc1b9db76665d5192fd267 | |
parent | 7d0e5c2056c70ff443188b6e603b6254af1304cc (diff) |
kbuild: remove redundant quiet_modtag for $(obj-m)
All objects in $(obj-m) are contained in $(real-obj-m) as well.
It is true composite objects are only contained in $(obj-m),
but [M] is hard-coded in quiet_cmd_link_multi-m.
This line is redundant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index aa05423c8418..29d02ed21552 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -110,8 +110,6 @@ $(real-obj-m:.o=.i) : quiet_modtag := [M] | |||
110 | $(real-obj-m:.o=.s) : quiet_modtag := [M] | 110 | $(real-obj-m:.o=.s) : quiet_modtag := [M] |
111 | $(real-obj-m:.o=.lst): quiet_modtag := [M] | 111 | $(real-obj-m:.o=.lst): quiet_modtag := [M] |
112 | 112 | ||
113 | $(obj-m) : quiet_modtag := [M] | ||
114 | |||
115 | quiet_cmd_cc_s_c = CC $(quiet_modtag) $@ | 113 | quiet_cmd_cc_s_c = CC $(quiet_modtag) $@ |
116 | cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< | 114 | cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< |
117 | 115 | ||