X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=trace%2Fmeson.build;h=c3412dc0ba5a29490441e150d2cfe58f71551314;hb=7425b6277f12e82952cede1f531bfc689bf77fb1;hp=26b54714d579f2066532b7d4b85b016f19c3692a;hpb=da36afa2d8dc9c778292ff172083caba9558b4fa;p=mirror_qemu.git diff --git a/trace/meson.build b/trace/meson.build index 26b54714d5..c3412dc0ba 100644 --- a/trace/meson.build +++ b/trace/meson.build @@ -1,3 +1,4 @@ +system_ss.add(files('trace-hmp-cmds.c')) specific_ss.add(files('control-target.c')) @@ -63,7 +64,7 @@ trace_events_all = custom_target('trace-events-all', input: trace_events_files, command: [ 'cat', '@INPUT@' ], capture: true, - install: true, + install: get_option('trace_backends') != [ 'nop' ], install_dir: qemu_datadir) if 'ust' in get_option('trace_backends') @@ -88,4 +89,6 @@ if 'ftrace' in get_option('trace_backends') trace_ss.add(files('ftrace.c')) endif trace_ss.add(files('control.c')) -trace_ss.add(files('qmp.c')) +if have_system or have_tools or have_ga + trace_ss.add(files('qmp.c')) +endif