[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v8 075/152] meson: convert trace/
From: |
Paolo Bonzini |
Subject: |
[PULL v8 075/152] meson: convert trace/ |
Date: |
Fri, 21 Aug 2020 06:22:12 -0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
trace/Makefile.objs | 8 --------
trace/meson.build | 5 ++++-
2 files changed, 4 insertions(+), 9 deletions(-)
delete mode 100644 trace/Makefile.objs
diff --git a/trace/Makefile.objs b/trace/Makefile.objs
deleted file mode 100644
index a429474618..0000000000
--- a/trace/Makefile.objs
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- mode: makefile -*-
-
-
-##################################################
-# Translation level
-
-obj-y += generated-helpers.o
-obj-y += control-target.o
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
--
2.26.2
- [PULL v8 052/152] meson: generate hxtool files, (continued)
- [PULL v8 052/152] meson: generate hxtool files, Paolo Bonzini, 2020/08/21
- [PULL v8 063/152] meson: add modules infrastructure, Paolo Bonzini, 2020/08/21
- [PULL v8 059/152] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 064/152] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/21
- [PULL v8 053/152] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/21
- [PULL v8 067/152] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/21
- [PULL v8 060/152] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 055/152] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/21
- [PULL v8 073/152] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 074/152] meson: convert most of softmmu/, Paolo Bonzini, 2020/08/21
- [PULL v8 075/152] meson: convert trace/,
Paolo Bonzini <=
- [PULL v8 065/152] meson: convert block, Paolo Bonzini, 2020/08/21
- [PULL v8 058/152] meson: convert authz directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 068/152] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/21
- [PULL v8 062/152] meson: infrastructure for building emulators, Paolo Bonzini, 2020/08/21
- [PULL v8 066/152] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/21
- [PULL v8 069/152] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/21
- [PULL v8 076/152] meson: convert dump/, Paolo Bonzini, 2020/08/21
- [PULL v8 071/152] meson: convert audio directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 078/152] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/21
- [PULL v8 079/152] meson: convert replay directory to Meson, Paolo Bonzini, 2020/08/21