From 0d58595077841917ad57c9f8d2a61184a504ef40 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 25 Dec 2015 04:27:27 -0500 Subject: sim: sim-model: build for everyone Rather than include this for some targets, set it up so we can build it all the time via the common code. This makes it easier for targets to opt into it when they're ready, increases build coverage, and allows us to centralize much of the logic. We also get to delete tconfig.h from two more targets -- they were setting WITH_DEVICES to 0 which has the same behavior as not defining it at all. While the SIM_HAVE_MODEL knob is gone, we now have WITH_MODEL_P, but it is only used by the common sim-model code. We use it to declare dummy model lists when the arch hasn't created its own. --- sim/lm32/ChangeLog | 4 ++++ sim/lm32/Makefile.in | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'sim/lm32') diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 044ce0a..b94ef40 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,5 +1,9 @@ 2015-12-25 Mike Frysinger + * Makefile.in (SIM_OBJS): Delete sim-model.o. + +2015-12-25 Mike Frysinger + * arch.c: Rename MACH to SIM_MACH. * cpuall.h: Likewise. * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in index 91b6278..7b71549 100644 --- a/sim/lm32/Makefile.in +++ b/sim/lm32/Makefile.in @@ -7,7 +7,6 @@ SIM_OBJS = \ $(SIM_NEW_COMMON_OBJS) \ sim-hload.o \ - sim-model.o \ cgen-utils.o cgen-trace.o cgen-scache.o \ cgen-run.o \ sim-if.o arch.o \ -- cgit v1.1