Skip to content

Commit

Permalink
objtool: make it visible in make V=1 output
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: [email protected]
Cc: Josh Poimboeuf <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Jiri Slaby authored and masahir0y committed May 3, 2017
1 parent a37c45c commit e8a3118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -280,14 +280,14 @@ define rule_cc_o_c
$(call echo-cmd,checksrc) $(cmd_checksrc) \
$(call cmd_and_fixdep,cc_o_c) \
$(cmd_modversions_c) \
$(cmd_objtool) \
$(call echo-cmd,objtool) $(cmd_objtool) \
$(call echo-cmd,record_mcount) $(cmd_record_mcount)
endef

define rule_as_o_S
$(call cmd_and_fixdep,as_o_S) \
$(cmd_modversions_S) \
$(cmd_objtool)
$(call echo-cmd,objtool) $(cmd_objtool)
endef

# List module undefined symbols (or empty line if not enabled)
Expand Down

0 comments on commit e8a3118

Please sign in to comment.