meson: Do not define CONFIG_DEVICES on user emulation
CONFIG_DEVICES is not generated on user emulation, so do not define it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241218151256.68625-1-philmd@linaro.org>
This commit is contained in:
parent
984f0e7f69
commit
edbceacf5a
@ -4110,7 +4110,7 @@ foreach target : target_dirs
|
|||||||
arch_deps = []
|
arch_deps = []
|
||||||
c_args = ['-DCOMPILING_PER_TARGET',
|
c_args = ['-DCOMPILING_PER_TARGET',
|
||||||
'-DCONFIG_TARGET="@0@-config-target.h"'.format(target),
|
'-DCONFIG_TARGET="@0@-config-target.h"'.format(target),
|
||||||
'-DCONFIG_DEVICES="@0@-config-devices.h"'.format(target)]
|
]
|
||||||
link_args = emulator_link_args
|
link_args = emulator_link_args
|
||||||
|
|
||||||
target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
|
target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
|
||||||
@ -4130,6 +4130,7 @@ foreach target : target_dirs
|
|||||||
arch_deps += hw.dependencies()
|
arch_deps += hw.dependencies()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
c_args += ['-DCONFIG_DEVICES="@0@-config-devices.h"'.format(target)]
|
||||||
arch_srcs += config_devices_h[target]
|
arch_srcs += config_devices_h[target]
|
||||||
link_args += ['@block.syms', '@qemu.syms']
|
link_args += ['@block.syms', '@qemu.syms']
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user