From a565e18f39ef252b618d188f1a0e6ce7f839ed3e Mon Sep 17 00:00:00 2001 From: "Christian I. Nilsson" Date: Sat, 31 Jan 2026 01:22:33 +0100 Subject: [PATCH] [build] Exclude local named config headers from annotation checks Commit dee71adda ("[build] Exclude external files from annotation checks") excluded local top-level config headers from annotation checks, but not local named config headers. These are generated if missing when building with CONFIG= and will most of the time be empty. Exclude these files from the list of annotated files used to perform licensing and UEFI Secure Boot eligibility checks. Non-local named config headers intended to be used with Secure Boot can be annotated with FILE_SECBOOT(). Signed-off-by: Christian I. Nilsson Modified-by: Michael Brown Signed-off-by: Michael Brown --- src/Makefile.housekeeping | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 0cd9994a4..f227fdd76 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -1553,6 +1553,8 @@ $(CONFIG_LOCAL_NAMED_HEADERS) : .PRECIOUS : $(CONFIG_LOCAL_NAMED_HEADERS) +UNANNOTATED += $(CONFIG_LOCAL_NAMED_HEADERS) + endif ###############################################################################