exec: Expose 'target_page.h' API to user emulation

User-only objects might benefit from the "exec/target_page.h"
API, which allows to build some objects once for all targets.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231211212003.21686-3-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2023-12-07 10:41:27 +01:00
parent 8501048b50
commit 75bbe6a4d2
5 changed files with 45 additions and 43 deletions

View file

@ -3523,7 +3523,7 @@ if get_option('b_lto')
pagevary = declare_dependency(link_with: pagevary)
endif
common_ss.add(pagevary)
specific_ss.add(files('page-vary-target.c'))
specific_ss.add(files('page-target.c', 'page-vary-target.c'))
subdir('backends')
subdir('disas')