[build] Canonicalise network protocol configuration

Move all network protocol selection from config/defaults/<platform>.h
to the top-level config/general.h, using indented conditional blocks
to clarify which protocols are supported and enabled on each platform.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-01-16 12:55:42 +00:00
parent e72c331aa7
commit f869132d6e
2 changed files with 16 additions and 11 deletions

View File

@@ -30,9 +30,6 @@ FILE_SECBOOT ( PERMITTED );
#define NAP_EFI
#define SERIAL_SPCR
#define NET_PROTO_IPV6 /* IPv6 protocol */
#define NET_PROTO_LLDP /* Link Layer Discovery protocol */
#define DOWNLOAD_PROTO_FILE /* Local filesystem access */
#define SANBOOT_PROTO_ISCSI /* iSCSI protocol */