sim: sim-model: build for everyone
authorMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 09:27:27 +0000 (04:27 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 09:40:31 +0000 (04:40 -0500)
commit0d58595077841917ad57c9f8d2a61184a504ef40
tree700d848c63f82b4284abebb23b1689a2272eb108
parent8a0ebee658862bec66191df192c1d3b09bf0c943
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.
29 files changed:
sim/bfin/ChangeLog
sim/bfin/Makefile.in
sim/bfin/tconfig.h
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/cgen-types.h
sim/common/sim-base.h
sim/common/sim-config.h
sim/common/sim-cpu.h
sim/common/sim-model.c
sim/common/sim-model.h
sim/common/sim-module.c
sim/common/sim-profile.h
sim/cris/ChangeLog
sim/cris/Makefile.in
sim/cris/tconfig.h
sim/frv/ChangeLog
sim/frv/Makefile.in
sim/frv/tconfig.h
sim/iq2000/ChangeLog
sim/iq2000/Makefile.in
sim/iq2000/tconfig.h [deleted file]
sim/lm32/ChangeLog
sim/lm32/Makefile.in
sim/m32r/ChangeLog
sim/m32r/Makefile.in
sim/sh64/ChangeLog
sim/sh64/Makefile.in
sim/sh64/tconfig.h [deleted file]