meson: Do not define CONFIG_DEVICES on user emulation
PATCH 1/1 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é <[email protected]>
--- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meson.build +2 -1
@@ -4110,7 +4110,7 @@ foreach target : target_dirs arch_deps = [] c_args = ['-DCOMPILING_PER_TARGET', '-DCONFIG_TARGET="@[email protected]"'.format(target), - '-DCONFIG_DEVICES="@[email protected]"'.format(target)] + ] link_args = emulator_link_args target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
@@ -4130,6 +4130,7 @@ foreach target : target_dirs arch_deps += hw.dependencies() endif + c_args += ['-DCONFIG_DEVICES="@[email protected]"'.format(target)] arch_srcs += config_devices_h[target] link_args += ['@block.syms', '@qemu.syms'] else
Signature · 1 line
2.45.2
Quoted 22 lines · Philippe Mathieu-Daudé
CONFIG_DEVICESis not generated on user emulation, so do not define it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meson.build +1
-1@@ -4110,7 +4110,7 @@ foreach target : target_dirs arch_deps = [] c_args = ['-DCOMPILING_PER_TARGET', '-DCONFIG_TARGET="@[email protected]"'.format(target), - '-DCONFIG_DEVICES="@[email protected]"'.format(target)] + ] link_args = emulator_link_args target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
meson.build foreach target : target_dirs · line 4136
Quoted 7 lines
meson.build +1
-0@@ -4130,6 +4130,7 @@ foreach target : target_dirs arch_deps += hw.dependencies() endif + c_args += ['-DCONFIG_DEVICES="@[email protected]"'.format(target)] arch_srcs += config_devices_h[target] link_args += ['@block.syms', '@qemu.syms'] else
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 7 lines · Philippe Mathieu-Daudé
CONFIG_DEVICESis not generated on user emulation, so do not define it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Patch queued, thanks.