mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-07-22 02:44:53 +00:00
meson: reuse common_user_inc when building files specific to user-mode emulators
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b37778b840
commit
a3a576b0bf
|
@ -2919,6 +2919,7 @@ foreach target : target_dirs
|
||||||
else
|
else
|
||||||
abi = config_target['TARGET_ABI_DIR']
|
abi = config_target['TARGET_ABI_DIR']
|
||||||
target_type='user'
|
target_type='user'
|
||||||
|
target_inc += common_user_inc
|
||||||
qemu_target_name = 'qemu-' + target_name
|
qemu_target_name = 'qemu-' + target_name
|
||||||
if target_base_arch in target_user_arch
|
if target_base_arch in target_user_arch
|
||||||
t = target_user_arch[target_base_arch].apply(config_target, strict: false)
|
t = target_user_arch[target_base_arch].apply(config_target, strict: false)
|
||||||
|
@ -2927,7 +2928,6 @@ foreach target : target_dirs
|
||||||
endif
|
endif
|
||||||
if 'CONFIG_LINUX_USER' in config_target
|
if 'CONFIG_LINUX_USER' in config_target
|
||||||
base_dir = 'linux-user'
|
base_dir = 'linux-user'
|
||||||
target_inc += include_directories('linux-user/host/' / host_arch)
|
|
||||||
endif
|
endif
|
||||||
if 'CONFIG_BSD_USER' in config_target
|
if 'CONFIG_BSD_USER' in config_target
|
||||||
base_dir = 'bsd-user'
|
base_dir = 'bsd-user'
|
||||||
|
|
Loading…
Reference in a new issue