it will be used for for 2 purposes, 1st is to provide to cpu name resolving class for machine 'none' cpu_parse_cpu_model(machine_class->default_cpu_type, cpu_model) and later to drop a bunch of ifdefs *-user/main.c that set default cpu_model.
With the later in mind set it to 'any', which is current default for target. Signed-off-by: Igor Mammedov <imamm...@redhat.com> --- CC: Anthony Green <gr...@moxielogic.com> --- target/moxie/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target/moxie/cpu.h b/target/moxie/cpu.h index d37e6a5..9fabb93 100644 --- a/target/moxie/cpu.h +++ b/target/moxie/cpu.h @@ -124,6 +124,7 @@ int cpu_moxie_signal_handler(int host_signum, void *pinfo, #define MOXIE_CPU_TYPE_SUFFIX "-" TYPE_MOXIE_CPU #define MOXIE_CPU_TYPE_NAME(model) model MOXIE_CPU_TYPE_SUFFIX +#define TARGET_DEFAULT_CPU_TYPE MOXIE_CPU_TYPE_NAME("any") #define cpu_signal_handler cpu_moxie_signal_handler -- 2.7.4