sim: drop WITH_ENGINE define

We enable this everywhere already, and all new ports should use the
engine logic, so no point in making it an option to disable.
This commit is contained in:
Mike Frysinger
2015-12-25 04:45:57 -05:00
parent 0d58595077
commit cf59f47ebe
3 changed files with 5 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2015-12-25 Mike Frysinger <vapier@gentoo.org>
* sim-config.h (WITH_ENGINE): Delete.
* sim-module.c (modules): Always include sim_engine_install.
2015-12-25 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-model.o.

View File

@ -454,19 +454,6 @@ extern int current_floating_point;
#endif
/* Engine module.
Use the common start/stop/restart framework (sim-engine).
Simulators using the other modules but not the engine should define
WITH_ENGINE=0. */
#ifndef WITH_ENGINE
#define WITH_ENGINE 1
#endif
/* Debugging:
Control the inclusion of debugging code.

View File

@ -41,9 +41,7 @@ static MODULE_INSTALL_FN * const modules[] = {
standard_install,
sim_events_install,
sim_model_install,
#if WITH_ENGINE
sim_engine_install,
#endif
#if WITH_TRACE_ANY_P
trace_install,
#endif