Skip to content

Commit 40988ed

Browse files
committed
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 <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
1 parent 1d3e745 commit 40988ed

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

plugins/api.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,6 @@
4646
#include "exec/translator.h"
4747
#include "disas/disas.h"
4848
#include "plugin.h"
49-
#ifndef CONFIG_USER_ONLY
50-
#include "qapi/error.h"
51-
#include "migration/blocker.h"
52-
#include "qemu/plugin-memory.h"
53-
#include "hw/boards.h"
54-
#else
55-
#include "qemu.h"
56-
#ifdef CONFIG_LINUX
57-
#include "loader.h"
58-
#endif
59-
#endif
6049

6150
/* Uninstall and Reset handlers */
6251

plugins/meson.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ endif
6161
user_ss.add(files('user.c', 'api-user.c'))
6262
system_ss.add(files('system.c', 'api-system.c'))
6363

64-
common_ss.add(files('loader.c'))
64+
common_ss.add(files('loader.c', 'api.c'))
6565

6666
specific_ss.add(files(
6767
'core.c',
68-
'api.c',
6968
))

0 commit comments

Comments
 (0)