diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2025-06-23 23:29:34 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-06-24 09:46:44 +0200 |
| commit | f7c8bb6c3c152495e37288ae4e42f02c231f30f6 (patch) | |
| tree | 7e80711ff87e12dc7d5152d79caf6eb4fdef67fe /tools/include | |
| parent | selftests/nolibc: avoid GCC 15 -Wunterminated-string-initialization (diff) | |
| download | linux-f7c8bb6c3c152495e37288ae4e42f02c231f30f6.tar.gz linux-f7c8bb6c3c152495e37288ae4e42f02c231f30f6.zip | |
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: a6a054c8ad32 ("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>
Diffstat (limited to 'tools/include')
| -rw-r--r-- | tools/include/nolibc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/nolibc/Makefile b/tools/include/nolibc/Makefile index 4bace7737b2a..f2f2924626d3 100644 --- a/tools/include/nolibc/Makefile +++ b/tools/include/nolibc/Makefile @@ -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 |
