diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-09-03 16:47:00 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:22 -0400 |
commit | 0e1309d0c56fcfce14bd314aa73e35f65c2856b5 (patch) | |
tree | f57e6eb325f4aab25fe5e81f88faa189bff39f52 /trace/meson.build | |
parent | 5d3ea0e17db463362578f47a47b5f0c4348516a2 (diff) |
meson: convert trace/
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'trace/meson.build')
-rw-r--r-- | trace/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/trace/meson.build b/trace/meson.build index cab36a248b..9c3c128164 100644 --- a/trace/meson.build +++ b/trace/meson.build @@ -1,3 +1,5 @@ +specific_ss.add(files('control-target.c')) + trace_events_files = [] foreach dir : [ '.' ] + trace_events_subdirs trace_events_file = meson.source_root() / dir / 'trace-events' @@ -61,12 +63,13 @@ foreach d : [ ['generated-helpers.h', 'tcg-helper-h'], ['generated-helpers-wrappers.h', 'tcg-helper-wrapper-h'], ] - custom_target(d[0], + gen = custom_target(d[0], output: d[0], input: meson.source_root() / 'trace-events', command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@' ], build_by_default: true, # to be removed when added to a target capture: true) + specific_ss.add(gen) endforeach if 'CONFIG_TRACE_UST' in config_host |