mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
boot/edk2: add a new Kconfig option to pass arbitrary build options
EDK2 build may include extra options. Those are usually in the form of "-D SOMEFLAG_ENABLE" and might be specific for a processor architecture or a platform. For example: "-D NETWORK_HTTP_BOOT_ENABLE", "-D NETWORK_TLS_ENABLE", ... Those options are generally documented in their respective packages. See for example: https://github.com/tianocore/edk2/blob/master/OvmfPkg/README This commit adds a new Kconfig string option to let the use define arbitrary build flags. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
99b4067859
commit
9868f67d38
@@ -130,6 +130,21 @@ config BR2_TARGET_EDK2_OVMF_DEBUG_ON_SERIAL
|
||||
See OVMF README:
|
||||
https://github.com/tianocore/edk2/blob/master/OvmfPkg/README
|
||||
|
||||
config BR2_TARGET_EDK2_EXTRA_BUILD_OPTS
|
||||
string "Extra build options"
|
||||
help
|
||||
EDK2 build may include extra options. Those are usually in
|
||||
the form of "-D SOMEFLAG_ENABLE" and might be specific for a
|
||||
processor architecture or a platform. For example: "-D
|
||||
NETWORK_HTTP_BOOT_ENABLE", "-D NETWORK_TLS_ENABLE", ...
|
||||
|
||||
Those options are generally documented in their respective
|
||||
packages. See for example:
|
||||
https://github.com/tianocore/edk2/blob/master/OvmfPkg/README
|
||||
|
||||
This configuration is an arbitrary string that will be
|
||||
passed to the build command.
|
||||
|
||||
config BR2_TARGET_EDK2_FD_NAME
|
||||
string
|
||||
default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_I386
|
||||
|
||||
Reference in New Issue
Block a user