Skip to content

Commit

Permalink
scripts: Makefile.build: silent objdump error message
Browse files Browse the repository at this point in the history
fixes ClangBuiltLinux/linux#1651

Signed-off-by: engstk <[email protected]>
  • Loading branch information
engstk committed Oct 6, 2022
1 parent 85b16f6 commit c4a7d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ cmd_modversions_c = \
mv -f $(@D)/.tmp_$(@F) $@;
else
cmd_modversions_c = \
if $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \
if $(OBJDUMP) -h $(@D)/.tmp_$(@F) 2>/dev/null | grep -q __ksymtab; then \
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
> $(@D)/.tmp_$(@F:.o=.ver); \
\
Expand Down

0 comments on commit c4a7d85

Please sign in to comment.