Skip to content

Commit 6f2688e

Browse files
committed
scripts: Makefile.build: silent objdump error message
fixes ClangBuiltLinux/linux#1651 Signed-off-by: engstk <[email protected]>
1 parent 0b47deb commit 6f2688e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ cmd_modversions_c = \
208208
mv -f $(@D)/.tmp_$(@F) $@;
209209
else
210210
cmd_modversions_c = \
211-
if $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \
211+
if $(OBJDUMP) -h $(@D)/.tmp_$(@F) 2>/dev/null | grep -q __ksymtab; then \
212212
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
213213
> $(@D)/.tmp_$(@F:.o=.ver); \
214214
\

0 commit comments

Comments
 (0)