diff options
author | Marc-André Lureau | 2019-08-15 13:39:54 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:25 +0200 |
commit | d6c9b1f00365abe9bfde8cd67d49db3146f681a1 (patch) | |
tree | c782b6f8dd50f4a1b7a7d02e09ee55ddb9e80214 /hw/smbios/meson.build | |
parent | meson: convert hw/nubus (diff) | |
download | qemu-d6c9b1f00365abe9bfde8cd67d49db3146f681a1.tar.gz qemu-d6c9b1f00365abe9bfde8cd67d49db3146f681a1.tar.xz qemu-d6c9b1f00365abe9bfde8cd67d49db3146f681a1.zip |
meson: convert hw/smbios
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/smbios/meson.build')
-rw-r--r-- | hw/smbios/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hw/smbios/meson.build b/hw/smbios/meson.build new file mode 100644 index 0000000000..9e762c7108 --- /dev/null +++ b/hw/smbios/meson.build @@ -0,0 +1,13 @@ +smbios_ss = ss.source_set() +smbios_ss.add(files('smbios.c')) +smbios_ss.add(when: 'CONFIG_IPMI', + if_true: files('smbios_type_38.c'), + if_false: files('smbios_type_38-stub.c')) + +softmmu_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss) +softmmu_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c')) + +softmmu_ss.add(when: 'CONFIG_ALL', if_true: files( + 'smbios-stub.c', + 'smbios_type_38-stub.c', +)) |