From c4a7d85c22cea02e44326f343af1dc2d097329f9 Mon Sep 17 00:00:00 2001 From: engstk Date: Wed, 21 Sep 2022 02:00:59 +0100 Subject: [PATCH] scripts: Makefile.build: silent objdump error message fixes https://github.com/ClangBuiltLinux/linux/issues/1651 Signed-off-by: engstk --- scripts/Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index bf7758f2b2e5..d56007b2c637 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -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); \ \