summaryrefslogtreecommitdiffstats
path: root/src/boot/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/meson.build')
-rw-r--r--src/boot/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/boot/meson.build b/src/boot/meson.build
index cc5102c551..f726996233 100644
--- a/src/boot/meson.build
+++ b/src/boot/meson.build
@@ -74,6 +74,12 @@ if conf.get('ENABLE_BOOTLOADER') != 1
endif
efi_conf = configuration_data()
+
+# import several configs from userspace
+foreach name : ['HAVE_WARNING_ZERO_LENGTH_BOUNDS', 'HAVE_WARNING_ZERO_AS_NULL_POINTER_CONSTANT']
+ efi_conf.set10(name, conf.get(name) == 1)
+endforeach
+
efi_conf.set10('ENABLE_TPM', get_option('tpm'))
foreach ctype : ['color-normal', 'color-entry', 'color-highlight', 'color-edit']