diff options
author | Jiri Slaby <jslaby@suse.cz> | 2017-04-21 11:16:20 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-05-03 00:39:37 -0400 |
commit | e8a3118e1f5cbe0c26704419390bf074689b349f (patch) | |
tree | 1318726c600bdc56255fc8cea340cb89242c02e6 | |
parent | a37c45cd82e62a361706b9688a984a3a63957321 (diff) |
objtool: make it visible in make V=1 output
It is currently impossible to see what is going on with objtool when
building, so call echo-cmd to see the actions:
gcc -Wp,-MD,arch/x86/entry/.entry_64.o.d -nostdinc -isystem ...
./tools/objtool/objtool check "arch/x86/entry/entry_64.o";
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Michal Marek <mmarek@suse.com>
Cc: linux-kbuild@vger.kernel.org
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index e5f1425c601f..733e044fff8b 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -280,14 +280,14 @@ define rule_cc_o_c | |||
280 | $(call echo-cmd,checksrc) $(cmd_checksrc) \ | 280 | $(call echo-cmd,checksrc) $(cmd_checksrc) \ |
281 | $(call cmd_and_fixdep,cc_o_c) \ | 281 | $(call cmd_and_fixdep,cc_o_c) \ |
282 | $(cmd_modversions_c) \ | 282 | $(cmd_modversions_c) \ |
283 | $(cmd_objtool) \ | 283 | $(call echo-cmd,objtool) $(cmd_objtool) \ |
284 | $(call echo-cmd,record_mcount) $(cmd_record_mcount) | 284 | $(call echo-cmd,record_mcount) $(cmd_record_mcount) |
285 | endef | 285 | endef |
286 | 286 | ||
287 | define rule_as_o_S | 287 | define rule_as_o_S |
288 | $(call cmd_and_fixdep,as_o_S) \ | 288 | $(call cmd_and_fixdep,as_o_S) \ |
289 | $(cmd_modversions_S) \ | 289 | $(cmd_modversions_S) \ |
290 | $(cmd_objtool) | 290 | $(call echo-cmd,objtool) $(cmd_objtool) |
291 | endef | 291 | endef |
292 | 292 | ||
293 | # List module undefined symbols (or empty line if not enabled) | 293 | # List module undefined symbols (or empty line if not enabled) |