]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Exclude local named config headers from annotation checks
authorChristian I. Nilsson <ChristianN@2PintSoftware.com>
Sat, 31 Jan 2026 00:22:33 +0000 (01:22 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 3 Feb 2026 09:59:42 +0000 (09:59 +0000)
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 <ChristianN@2PintSoftware.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping

index 0cd9994a4f827e8bbc9cc7c42351348067f77b8d..f227fdd76df71726f22a543ae513718e3387a88a 100644 (file)
@@ -1553,6 +1553,8 @@ $(CONFIG_LOCAL_NAMED_HEADERS) :
 
 .PRECIOUS : $(CONFIG_LOCAL_NAMED_HEADERS)
 
+UNANNOTATED    += $(CONFIG_LOCAL_NAMED_HEADERS)
+
 endif
 
 ###############################################################################