mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
e8371973d7
commit
736ca80cdd
3 changed files with 21 additions and 0 deletions
|
@ -35,6 +35,7 @@ subdir('smbios')
|
|||
subdir('ssi')
|
||||
subdir('timer')
|
||||
subdir('tpm')
|
||||
subdir('uefi')
|
||||
subdir('ufs')
|
||||
subdir('usb')
|
||||
subdir('vfio')
|
||||
|
|
|
@ -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,
|
||||
}}
|
||||
|
|
|
@ -3601,6 +3601,7 @@ if have_system
|
|||
'hw/ssi',
|
||||
'hw/timer',
|
||||
'hw/tpm',
|
||||
'hw/uefi',
|
||||
'hw/ufs',
|
||||
'hw/usb',
|
||||
'hw/vfio',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue