OSDN Git Service

meson: cleanup common-user/ build
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Dec 2021 15:09:54 +0000 (16:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Jan 2022 13:08:29 +0000 (14:08 +0100)
commit9d24fb73a1c1b0d892f8c26297f922c85460513d
tree3ed59d16a3c28ec3e2a30607e7b5957a5cc7523f
parent05a248715cef192336a594afed812871a52efc1f
meson: cleanup common-user/ build

It is not necessary to have a separate static_library just for common_user
files; using the one that already covers the rest of common_ss is enough
unless you need to reuse some source files between emulators and tests.
Just place common files for all user-mode emulators in common_ss,
similar to what is already done for softmmu_ss in full system emulators.

The only disadvantage is that the include_directories under bsd-user/include/
and linux-user/include/ are now enabled for all targets rather than only
user mode emulators.  This however is not different from how include/sysemu/
is available when building user mode emulators.

Tested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
common-user/meson.build
meson.build