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/common/sim-module.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sim/common/sim-module.c') diff --git a/sim/common/sim-module.c b/sim/common/sim-module.c index 4f23882..670225b 100644 --- a/sim/common/sim-module.c +++ b/sim/common/sim-module.c @@ -40,9 +40,7 @@ along with this program. If not, see . */ static MODULE_INSTALL_FN * const modules[] = { standard_install, sim_events_install, -#ifdef SIM_HAVE_MODEL sim_model_install, -#endif #if WITH_ENGINE sim_engine_install, #endif -- cgit v1.1