Skip to content

Commit

Permalink
crypto: only include tls-cipher-suites in emulators
Browse files Browse the repository at this point in the history
tls-cipher-suites is an object that is used to inject TLS configuration
into the guest (via fw_cfg).  It is never used for host-side TLS
operation, and therefore it need not be available in the tools.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Oct 3, 2023
1 parent be2b619 commit 0c1a529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion crypto/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ endif
if have_afalg
crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
endif
crypto_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))

system_ss.add(when: gnutls, if_true: files('tls-cipher-suites.c'))

util_ss.add(files(
'aes.c',
Expand Down
6 changes: 1 addition & 5 deletions hw/nvram/meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
if have_system or have_tools
# QOM interfaces must be available anytime QOM is used.
qom_ss.add(files('fw_cfg-interface.c'))
endif

system_ss.add(files('fw_cfg-interface.c'))
system_ss.add(files('fw_cfg.c'))
system_ss.add(when: 'CONFIG_CHRP_NVRAM', if_true: files('chrp_nvram.c'))
system_ss.add(when: 'CONFIG_DS1225Y', if_true: files('ds1225y.c'))
Expand Down

0 comments on commit 0c1a529

Please sign in to comment.