[build] Extend default configuration for non-BIOS builds

The current usage model for iPXE is that the default configuration is
relatively minimal to reduce code size, with users encouraged to build
from source if necessary to enable additional features.  This approach
is somewhat incompatible with the Secure Boot model, which by design
makes it prohibitively difficult for users to use their own compiled
binaries.  For published Secure Boot signed binaries to be useful,
they will have to already include all features that the majority of
users will need.

Extend the default configuration for EFI (and other non-BIOS
platforms) to include HTTPS support, framebuffer support, and a
selection of commands and features that are reasonably expected to be
used by large numbers of users.

The default configuration for BIOS platforms is deliberately left
unchanged, since BIOS binaries are typically subject to severe size
constraints.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-01-16 22:38:07 +00:00
parent 4157afc125
commit 05cb930466
3 changed files with 48 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ FILE_SECBOOT ( PERMITTED );
#include <config/defaults.h>
/* Settings sources supported on all platforms */
//#define ACPI_SETTINGS /* ACPI settings */
#define ACPI_SETTINGS /* ACPI settings */
#define PCI_SETTINGS /* PCI device settings */
#define USB_SETTINGS /* USB device settings */
@@ -29,11 +29,17 @@ FILE_SECBOOT ( PERMITTED );
/* Settings sources supported only on x86 CPUs */
#if defined ( __i386__ ) || defined ( __x86_64__ )
//#define CPUID_SETTINGS /* CPUID settings */
#define CPUID_SETTINGS /* CPUID settings */
//#define VMWARE_SETTINGS /* VMware GuestInfo settings */
//#define VRAM_SETTINGS /* Video RAM dump settings */
#endif
/* Disable settings sources not historically included in BIOS builds */
#if defined ( PLATFORM_pcbios )
#undef ACPI_SETTINGS
#undef CPUID_SETTINGS
#endif
#include <config/named.h>
#include NAMED_CONFIG(settings.h)
#include <config/local/settings.h>