mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
tools/nolibc: hide headers_check command by default
If V=1 is not specified the executed commands should not be printed.
Hide the commands by default.
Fixes: a6a054c8ad
("tools/nolibc: add target to check header usability")
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250623-nolibc-headers-silent-v1-1-f568facf014c@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
This commit is contained in:
parent
fb1cacdbac
commit
f7c8bb6c3c
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ headers_standalone: headers
|
|||
CLANG_CROSS_FLAGS := $(subst --target=s390-linux,--target=systemz-linux,$(CLANG_CROSS_FLAGS))
|
||||
|
||||
headers_check: headers_standalone
|
||||
for header in $(filter-out crt.h std.h,$(all_files)); do \
|
||||
$(Q)for header in $(filter-out crt.h std.h,$(all_files)); do \
|
||||
$(CC) $(CLANG_CROSS_FLAGS) -Wall -Werror -nostdinc -fsyntax-only -x c /dev/null \
|
||||
-I$(or $(objtree),$(srctree))/usr/include -include $$header -include $$header || exit 1; \
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue