From d73f39ee4309d340b97974e49f34e24b8b93fc61 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Jun 2021 22:45:07 -0400 Subject: sim: move sim-inline to the common code This will allow us to build the common code with the same inline settings as the arch subdirs, and only do the test once. --- sim/lm32/ChangeLog | 5 +++++ sim/lm32/aclocal.m4 | 1 - sim/lm32/configure | 35 ----------------------------------- 3 files changed, 5 insertions(+), 36 deletions(-) (limited to 'sim/lm32') diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index db372a9..41f800d 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,8 @@ +2021-06-20 Mike Frysinger + + * aclocal.m4: Regenerate. + * configure: Regenerate. + 2021-06-19 Mike Frysinger * aclocal.m4: Regenerate. diff --git a/sim/lm32/aclocal.m4 b/sim/lm32/aclocal.m4 index 24702ab..50fcc1f 100644 --- a/sim/lm32/aclocal.m4 +++ b/sim/lm32/aclocal.m4 @@ -103,6 +103,5 @@ m4_include([../m4/sim_ac_common.m4]) m4_include([../m4/sim_ac_option_cgen_maint.m4]) m4_include([../m4/sim_ac_option_default_model.m4]) m4_include([../m4/sim_ac_option_hardware.m4]) -m4_include([../m4/sim_ac_option_inline.m4]) m4_include([../m4/sim_ac_option_scache.m4]) m4_include([../m4/sim_ac_output.m4]) diff --git a/sim/lm32/configure b/sim/lm32/configure index a085bdc..3404115 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -633,7 +633,6 @@ PACKAGE_NAME PATH_SEPARATOR SHELL sim_scache -sim_inline sim_hw sim_hw_objs sim_hw_cflags @@ -642,7 +641,6 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode -enable_sim_inline enable_sim_scache enable_sim_default_model enable_cgen_maint @@ -1261,8 +1259,6 @@ Optional Features: --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer - --enable-sim-inline=inlines - Specify which functions should be inlined --enable-sim-scache=size Specify simulator execution cache size --enable-sim-default-model=model @@ -1729,37 +1725,6 @@ fi -sim_inline="-DDEFAULT_INLINE=0" -# Check whether --enable-sim-inline was given. -if test "${enable_sim_inline+set}" = set; then : - enableval=$enable_sim_inline; sim_inline="" -case "$enableval" in - no) sim_inline="-DDEFAULT_INLINE=0";; - 0) sim_inline="-DDEFAULT_INLINE=0";; - yes | 2) sim_inline="-DDEFAULT_INLINE=ALL_C_INLINE";; - 1) sim_inline="-DDEFAULT_INLINE=INLINE_LOCALS";; - *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do - new_flag="" - case "$x" in - *_INLINE=*) new_flag="-D$x";; - *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;; - *_INLINE) new_flag="-D$x=ALL_C_INLINE";; - *) new_flag="-D$x""_INLINE=ALL_C_INLINE";; - esac - if test x"$sim_inline" = x""; then - sim_inline="$new_flag" - else - sim_inline="$sim_inline $new_flag" - fi - done;; -esac -if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then - echo "Setting inline flags = $sim_inline" 6>&1 -fi -fi - - - default_sim_scache="16384" # Check whether --enable-sim-scache was given. -- cgit v1.1