diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-08-30 11:52:43 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-12-31 09:11:28 +0100 |
| commit | 1220f5813a7e1c4ff9cf7ffa189f979be3801044 (patch) | |
| tree | d536697049a5b1380fab0e04fdb6a6feaba3ee92 /gdbstub/meson.build | |
| parent | dc4954943d3adc82c4052aed592f2dc5a14c3fc7 (diff) | |
| download | focaccia-qemu-1220f5813a7e1c4ff9cf7ffa189f979be3801044.tar.gz focaccia-qemu-1220f5813a7e1c4ff9cf7ffa189f979be3801044.zip | |
meson: remove config_targetos
config_targetos is now empty and can be removed; its use in sourcesets that do not involve target-specific files can be replaced with an empty dictionary. In fact, at this point *all* sourcesets that do not involve target-specific files are just glorified mutable arrays. Enforce that they never test for symbols in "when:" by computing the set of files without "strict: false". Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'gdbstub/meson.build')
| -rw-r--r-- | gdbstub/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbstub/meson.build b/gdbstub/meson.build index e5bccba34e..da5721d845 100644 --- a/gdbstub/meson.build +++ b/gdbstub/meson.build @@ -14,8 +14,8 @@ gdb_system_ss = ss.source_set() gdb_user_ss.add(files('gdbstub.c', 'user.c')) gdb_system_ss.add(files('gdbstub.c', 'system.c')) -gdb_user_ss = gdb_user_ss.apply(config_targetos, strict: false) -gdb_system_ss = gdb_system_ss.apply(config_targetos, strict: false) +gdb_user_ss = gdb_user_ss.apply({}) +gdb_system_ss = gdb_system_ss.apply({}) libgdb_user = static_library('gdb_user', gdb_user_ss.sources() + genh, |