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/arm/arminit.c | |
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/arm/arminit.c')
0 files changed, 0 insertions, 0 deletions