diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2025-03-04 22:24:36 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2025-03-10 10:30:01 +0000 |
| commit | 40988ed9dfca934791bd2aeb1cc2d11e3a239265 (patch) | |
| tree | 3cf19e8855ecb96fe4acd2fa3befd0cdd3fca5f9 | |
| parent | 1d3e745f7ada921d544f29fbf84c6f0f63025e61 (diff) | |
| download | focaccia-qemu-40988ed9dfca934791bd2aeb1cc2d11e3a239265.tar.gz focaccia-qemu-40988ed9dfca934791bd2aeb1cc2d11e3a239265.zip | |
plugins/api: build only once
Now all the softmmu/user-mode stuff has been split out we can build this compilation unit only once. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-30-alex.bennee@linaro.org>
| -rw-r--r-- | plugins/api.c | 11 | ||||
| -rw-r--r-- | plugins/meson.build | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/plugins/api.c b/plugins/api.c index 832bf6ee5e..604ce06802 100644 --- a/plugins/api.c +++ b/plugins/api.c @@ -46,17 +46,6 @@ #include "exec/translator.h" #include "disas/disas.h" #include "plugin.h" -#ifndef CONFIG_USER_ONLY -#include "qapi/error.h" -#include "migration/blocker.h" -#include "qemu/plugin-memory.h" -#include "hw/boards.h" -#else -#include "qemu.h" -#ifdef CONFIG_LINUX -#include "loader.h" -#endif -#endif /* Uninstall and Reset handlers */ diff --git a/plugins/meson.build b/plugins/meson.build index 942b59e904..d27220d5ff 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -61,9 +61,8 @@ endif user_ss.add(files('user.c', 'api-user.c')) system_ss.add(files('system.c', 'api-system.c')) -common_ss.add(files('loader.c')) +common_ss.add(files('loader.c', 'api.c')) specific_ss.add(files( 'core.c', - 'api.c', )) |