Contrib plugins have been built out of tree so far, thanks to a Makefile. However, it is quite inconvenient for maintenance, as we may break them, especially for specific architectures.
First patches are fixing warnings for existing plugins, then we add meson support, and finally, we remove Makefile for contrib/plugins. Based on the proposal of Anton Kochkov on associated gitlab issue. Solves: https://gitlab.com/qemu-project/qemu/-/issues/1710 Pierrick Bouvier (6): contrib/plugins/execlog: fix warning contrib/plugins/cache: fix warning when compiling on 32bits host contrib/plugins/hwprofile: fix warning when compiling on 32bits host contrib/plugins/hotblocks: fix warning when compiling on 32bits host meson: build contrib/plugins with meson contrib/plugins: remove Makefile for contrib/plugins configure | 18 -------- Makefile | 10 ----- meson.build | 4 ++ contrib/plugins/cache.c | 6 +-- contrib/plugins/execlog.c | 4 +- contrib/plugins/hotblocks.c | 4 +- contrib/plugins/hwprofile.c | 9 ++-- contrib/plugins/Makefile | 85 ------------------------------------- contrib/plugins/meson.build | 23 ++++++++++ 9 files changed, 39 insertions(+), 124 deletions(-) delete mode 100644 contrib/plugins/Makefile create mode 100644 contrib/plugins/meson.build -- 2.39.2