|
@@ -3610,7 +3610,7 @@ foreach d, list : target_modules
|
|
|
if target.endswith('-softmmu')
|
|
|
config_target = config_target_mak[target]
|
|
|
target_inc = [include_directories('target' / config_target['TARGET_BASE_ARCH'])]
|
|
|
- c_args = ['-DNEED_CPU_H',
|
|
|
+ c_args = ['-DCOMPILING_PER_TARGET',
|
|
|
'-DCONFIG_TARGET="@0@-config-target.h"'.format(target),
|
|
|
'-DCONFIG_DEVICES="@0@-config-devices.h"'.format(target)]
|
|
|
target_module_ss = module_ss.apply(config_target, strict: false)
|
|
@@ -3793,7 +3793,7 @@ foreach target : target_dirs
|
|
|
target_base_arch = config_target['TARGET_BASE_ARCH']
|
|
|
arch_srcs = [config_target_h[target]]
|
|
|
arch_deps = []
|
|
|
- c_args = ['-DNEED_CPU_H',
|
|
|
+ c_args = ['-DCOMPILING_PER_TARGET',
|
|
|
'-DCONFIG_TARGET="@0@-config-target.h"'.format(target),
|
|
|
'-DCONFIG_DEVICES="@0@-config-devices.h"'.format(target)]
|
|
|
link_args = emulator_link_args
|