> > The flag is already there ;) > SECURE_BOOT_ENABLE is not a build-flag. It can only works in .dsc files. > The build-flag(SECURE_BOOT_FEATURE_ENABLED) would be defined in .dsc: > [BuildOptions] > !if $(SECURE_BOOT_ENABLE) == TRUE > MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED > INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED > GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED > !endif
Ah, I see. I've expected that to happen automatically, similar to the the linux kernel, where all CONFIG_* variables are available to both build system and C source code. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90713): https://edk2.groups.io/g/devel/message/90713 Mute This Topic: https://groups.io/mt/91835110/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
