[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 069/143] meson: convert trace/
From: |
Paolo Bonzini |
Subject: |
[PATCH 069/143] meson: convert trace/ |
Date: |
Thu, 6 Aug 2020 21:15:05 +0200 |
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 a429474..0000000
--- 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 8ea8db7..b113425 100644
--- a/trace/meson.build
+++ b/trace/meson.build
@@ -1,3 +1,5 @@
+specific_ss.add(files('control-target.c'))
+
# common options
tracetool = [
find_program('scripts/tracetool.py'),
@@ -67,12 +69,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
--
1.8.3.1
- [PATCH 066/143] meson: convert root directory to Meson, (continued)
- [PATCH 067/143] meson: convert most of softmmu/, Paolo Bonzini, 2020/08/06
- [PATCH 065/143] meson: convert ui directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 070/143] meson: convert block/, Paolo Bonzini, 2020/08/06
- [PATCH 069/143] meson: convert trace/,
Paolo Bonzini <=
- [PATCH 071/143] meson: convert dump/, Paolo Bonzini, 2020/08/06
- [PATCH 073/143] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/06
- [PATCH 072/143] meson: convert common QMP bits for qemu and qemu-storage-daemon, Paolo Bonzini, 2020/08/06
- [PATCH 074/143] meson: convert replay directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 075/143] meson: convert migration directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 076/143] meson: convert net directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 077/143] meson: convert backends directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 078/143] meson: convert fsdev/, Paolo Bonzini, 2020/08/06
- [PATCH 080/143] meson: convert qapi-specific to meson, Paolo Bonzini, 2020/08/06
- [PATCH 079/143] meson: convert disas directory to Meson, Paolo Bonzini, 2020/08/06