aboutsummaryrefslogtreecommitdiff
path: root/trace/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'trace/meson.build')
-rw-r--r--trace/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/trace/meson.build b/trace/meson.build
index 8569e8a0c4..a0be8f9b0d 100644
--- a/trace/meson.build
+++ b/trace/meson.build
@@ -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