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/mips/configure | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'sim/mips/configure') diff --git a/sim/mips/configure b/sim/mips/configure index 3a67a68..67a17c3 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -639,7 +639,6 @@ PACKAGE_NAME PATH_SEPARATOR SHELL sim_reserved_bits -sim_inline sim_hw sim_hw_objs sim_hw_cflags @@ -649,7 +648,6 @@ ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode -enable_sim_inline enable_sim_reserved_bits enable_sim_bitsize enable_sim_float @@ -1268,8 +1266,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-reserved-bits Specify whether to check reserved bits in instruction @@ -1737,37 +1733,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_reserved_bits="1" # Check whether --enable-sim-reserved-bits was given. -- cgit v1.1