]> git.proxmox.com Git - mirror_qemu.git/commit - configure
contrib/plugins: use an independent makefile
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Sep 2023 10:54:42 +0000 (12:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Sep 2023 11:32:35 +0000 (13:32 +0200)
commitbafe78ad3bc4cef3a4d22e477c8940a7c955f1ea
treecb039717fdb3ae059cc158f8920f6eba6893f2ea
parent1d558c906eb6e9eb65d7bb94ed4d8aa5a0f2d423
contrib/plugins: use an independent makefile

The initial reason to write this patch was to remove the last use of
CONFIG_DEBUG_TCG from the makefiles; the flags to use to build TCG
plugins are unrelated to --enable-debug-tcg, and instead they should
be the same as those used to build emulators (the plugins are not build
via meson for demonstration reasons only).

However, since contrib/plugins/Makefile is also the last case of doing
a compilation job using config-host.mak, go a step further and make it
use a completely separate configuration file, removing all references
to compilers from the toplevel config-host.mak.  Clean up references to
empty variables, and use .SECONDARY so that intermediate object files
are not deleted.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
contrib/plugins/Makefile