[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 <ChristianN@2PintSoftware.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Christian I. Nilsson 2026-01-31 01:22:33 +01:00 committed by Michael Brown
parent b05a045b41
commit a565e18f39

View File

@ -1553,6 +1553,8 @@ $(CONFIG_LOCAL_NAMED_HEADERS) :
.PRECIOUS : $(CONFIG_LOCAL_NAMED_HEADERS)
UNANNOTATED += $(CONFIG_LOCAL_NAMED_HEADERS)
endif
###############################################################################