]> git.proxmox.com Git - mirror_qemu.git/blobdiff - trace/meson.build
Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging
[mirror_qemu.git] / trace / meson.build
index 8569e8a0c4380a14d43e80ef68ffa91b2c4dbede..a0be8f9b0db96ed21ec4fcd6572b9ce657fdcb3b 100644 (file)
@@ -1,3 +1,4 @@
+
 specific_ss.add(files('control-target.c'))
 
 trace_events_files = []
@@ -66,7 +67,7 @@ foreach d : [
                 output: d[0],
                 input: meson.source_root() / 'trace-events',
                 command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@', '@OUTPUT@' ])
-  specific_ss.add(gen)
+  specific_ss.add(when: 'CONFIG_TCG', if_true: gen)
 endforeach
 
 if 'CONFIG_TRACE_UST' in config_host