From: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
To: Nathan Chancellor <nathan@kernel.org>,
Nicolas Schier <nicolas.schier@linux.dev>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
"Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Subject: [PATCH 1/6] kbuild: uapi: rerun header tests when headers_check.pl changes
Date: Tue, 12 Aug 2025 07:33:04 +0200 [thread overview]
Message-ID: <20250812-kbuild-hdrtest-fixes-v1-1-7ad2af66cd58@linutronix.de> (raw)
In-Reply-To: <20250812-kbuild-hdrtest-fixes-v1-0-7ad2af66cd58@linutronix.de>
If the checks change they need to be rerun.
Add a Makefile dependency so this happens.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
usr/include/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/include/Makefile b/usr/include/Makefile
index f02f41941b60c88d921da2b955076bbff7884c1c..c7f164952b33acf6c7b8eb7ce91cd192bfc39ad2 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -85,7 +85,7 @@ quiet_cmd_hdrtest = HDRTEST $<
$(PERL) $(src)/headers_check.pl $(obj) $<; \
touch $@
-$(obj)/%.hdrtest: $(obj)/%.h FORCE
+$(obj)/%.hdrtest: $(obj)/%.h $(src)/headers_check.pl FORCE
$(call if_changed_dep,hdrtest)
# Since GNU Make 4.3, $(patsubst $(obj)/%/,%,$(wildcard $(obj)/*/)) works.
--
2.50.1
next prev parent reply other threads:[~2025-08-12 5:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 5:33 [PATCH 0/6] kbuild: uapi: various fixes Thomas Weißschuh
2025-08-12 5:33 ` Thomas Weißschuh [this message]
2025-08-12 5:33 ` [PATCH 2/6] kbuild: uapi: only update hdrtest output on success Thomas Weißschuh
2025-08-13 0:29 ` Masahiro Yamada
2025-08-13 5:29 ` Thomas Weißschuh
2025-08-13 5:46 ` Nicolas Schier
2025-08-12 5:33 ` [PATCH 3/6] kbuild: uapi: fail header test on compiler warnings Thomas Weißschuh
2025-08-12 5:33 ` [PATCH 4/6] kbuild: uapi: upgrade warning on asm/types.h inclusion to error Thomas Weißschuh
2025-08-12 5:33 ` [PATCH 5/6] kbuild: uapi: upgrade check_sizetypes() warning " Thomas Weißschuh
2025-08-12 5:33 ` [PATCH 6/6] kbuild: uapi: upgrade check_declarations() " Thomas Weißschuh
2025-08-12 23:44 ` [PATCH 0/6] kbuild: uapi: various fixes Nathan Chancellor
2025-08-13 5:54 ` Nicolas Schier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250812-kbuild-hdrtest-fixes-v1-1-7ad2af66cd58@linutronix.de \
--to=thomas.weissschuh@linutronix.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=nicolas.schier@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).