diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-19 19:36:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-21 21:36:51 -0400 |
commit | be0387eed099dbc2f2bdc92fbf60e04f846c3b2b (patch) | |
tree | a61ac0be186cfe159401b1c96892f8554b07c5af /sim/mips/Makefile.in | |
parent | b4ee29a4450a88a64d99db0e49bac2e8670e086b (diff) | |
download | gdb-be0387eed099dbc2f2bdc92fbf60e04f846c3b2b.zip gdb-be0387eed099dbc2f2bdc92fbf60e04f846c3b2b.tar.gz gdb-be0387eed099dbc2f2bdc92fbf60e04f846c3b2b.tar.bz2 |
sim: hw: rework configure option & device selection
The sim-hardware configure option allows builders to select a set of
device models to enable. But this seems like unnecessary overkill:
the existence of individual device models doesn't affect performance
at all as they are only enabled at runtime if the config uses them,
and individually these are all <5KB a piece. Stripping off a total
of ~50KB from a ~1MB binary doesn't seem useful, and it's extremely
unlikely anyone will ever bother.
So let's simplify the configure/make logic by turning sim-hardware
into a boolean option like many of the other sim options. Any ports
that have unique device models will declare them in their Makefile
instead of at configure time. This will allow us to (eventually)
unify the setting into the common dir.
Diffstat (limited to 'sim/mips/Makefile.in')
-rw-r--r-- | sim/mips/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/mips/Makefile.in b/sim/mips/Makefile.in index 2f79c56..c04736b 100644 --- a/sim/mips/Makefile.in +++ b/sim/mips/Makefile.in @@ -69,6 +69,7 @@ SIM_OBJS = \ sim-main.o \ sim-resume.o \ +SIM_EXTRA_HW_DEVICES = tx3904cpu tx3904irc tx3904tmr tx3904sio # List of flags to always pass to $(CC). SIM_SUBTARGET=@SIM_SUBTARGET@ |