forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
35
sim/bpf/configure
vendored
35
sim/bpf/configure
vendored
@@ -632,7 +632,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_bitsize
|
||||
enable_sim_scache
|
||||
enable_sim_default_model
|
||||
@@ -1262,8 +1260,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-bitsize=N Specify target bitsize (32 or 64)
|
||||
--enable-sim-scache=size
|
||||
Specify simulator execution cache size
|
||||
@@ -1731,37 +1727,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
|
||||
|
||||
|
||||
|
||||
wire_word_bitsize="64"
|
||||
wire_word_msb=""
|
||||
wire_address_bitsize=""
|
||||
|
||||
Reference in New Issue
Block a user