summary refs log tree commit diff stats
path: root/hw/uefi
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2025-02-25 17:30:21 +0100
committerGerd Hoffmann <kraxel@redhat.com>2025-03-04 12:07:05 +0100
commit736ca80cdd18c837dcfca016a6df746a70d33bb2 (patch)
tree0d267fdcdbf24ad4aa6707c6869c266329eecc6a /hw/uefi
parente8371973d7e651f9d7b82100cb9745fd2795d722 (diff)
downloadfocaccia-qemu-736ca80cdd18c837dcfca016a6df746a70d33bb2.tar.gz
focaccia-qemu-736ca80cdd18c837dcfca016a6df746a70d33bb2.zip
hw/uefi: add to meson
Wire up uefi-vars in the build system.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-ID: <20250225163031.1409078-18-kraxel@redhat.com>
Diffstat (limited to 'hw/uefi')
-rw-r--r--hw/uefi/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/hw/uefi/meson.build b/hw/uefi/meson.build
index a8b1689412..e63708aa16 100644
--- a/hw/uefi/meson.build
+++ b/hw/uefi/meson.build
@@ -1 +1,20 @@
 system_ss.add(files('hardware-info.c'))
+
+uefi_vars_ss = ss.source_set()
+if (config_all_devices.has_key('CONFIG_UEFI_VARS'))
+  uefi_vars_ss.add(files('var-service-core.c',
+                         'var-service-json.c',
+                         'var-service-vars.c',
+                         'var-service-auth.c',
+                         'var-service-guid.c',
+                         'var-service-utils.c',
+                         'var-service-policy.c'))
+  uefi_vars_ss.add(when: gnutls,
+                   if_true: files('var-service-pkcs7.c'),
+                   if_false: files('var-service-pkcs7-stub.c'))
+  uefi_vars_ss.add(files('var-service-siglist.c'))
+endif
+
+modules += { 'hw-uefi' : {
+    'vars'     : uefi_vars_ss,
+}}