From 9d90335212595f76b0f29698dfb2468c7318c171 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 23 Apr 2021 21:58:21 -0400 Subject: 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. --- sim/m32r/configure | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sim/m32r/configure') diff --git a/sim/m32r/configure b/sim/m32r/configure index fb35163..983afc6 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -12124,13 +12124,7 @@ fi -if test ""; then - hardware="" -else - hardware="cfi core pal glue" -fi -hardware="$hardware m32r_cache m32r_uart" - +hardware="cfi core pal glue m32r_cache m32r_uart" 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'`" -- cgit v1.1