Skip to content

Commit edbceac

Browse files
committed
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]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]>
1 parent 984f0e7 commit edbceac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4110,7 +4110,7 @@ foreach target : target_dirs
41104110
arch_deps = []
41114111
c_args = ['-DCOMPILING_PER_TARGET',
41124112
'-DCONFIG_TARGET="@[email protected]"'.format(target),
4113-
'-DCONFIG_DEVICES="@[email protected]"'.format(target)]
4113+
]
41144114
link_args = emulator_link_args
41154115

41164116
target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
@@ -4130,6 +4130,7 @@ foreach target : target_dirs
41304130
arch_deps += hw.dependencies()
41314131
endif
41324132

4133+
c_args += ['-DCONFIG_DEVICES="@[email protected]"'.format(target)]
41334134
arch_srcs += config_devices_h[target]
41344135
link_args += ['@block.syms', '@qemu.syms']
41354136
else

0 commit comments

Comments
 (0)