diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-23 21:58:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-23 21:58:21 -0400 |
commit | 9d90335212595f76b0f29698dfb2468c7318c171 (patch) | |
tree | a375141b7c411b117d22b66fe6832d24814abde5 /sim/mn10300/configure | |
parent | b2d14d3d8f5283fbb81603184380e26f5953b25c (diff) | |
download | gdb-9d90335212595f76b0f29698dfb2468c7318c171.zip gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.gz gdb-9d90335212595f76b0f29698dfb2468c7318c171.tar.bz2 |
sim: simplify hardware m4 macro
Every port using this sets the 1st arg to yes and the 2nd arg to "".
These are the defaults we probably want anyways in order to unify the
codebase, so move them to the macro and only allow ports to declare
extra hardware models.
Diffstat (limited to 'sim/mn10300/configure')
-rwxr-xr-x | sim/mn10300/configure | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 4c6ad23..f7e634e 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -12110,13 +12110,7 @@ fi fi -if test ""; then - hardware="" -else - hardware="cfi core pal glue" -fi -hardware="$hardware mn103cpu mn103int mn103tim mn103ser mn103iop" - +hardware="cfi core pal glue mn103cpu mn103int mn103tim mn103ser mn103iop" sim_hw_cflags="-DWITH_HW=1" sim_hw="$hardware" sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\1.o/g'`" |