forked from Imagelibrary/binutils-gdb
sim: v850: drop subdir configure logic
We've been using this only to set the default word size to 32. We can easily move this into the makefile via a -D compiler flag and clean up the build logic quite a bit.
This commit is contained in:
26
sim/configure
vendored
26
sim/configure
vendored
@@ -1111,8 +1111,7 @@ AS_FOR_TARGET_EXAMPLE_SYNACOR
|
||||
LD_FOR_TARGET_EXAMPLE_SYNACOR
|
||||
CC_FOR_TARGET_EXAMPLE_SYNACOR'
|
||||
ac_subdirs_all='mips
|
||||
ppc
|
||||
v850'
|
||||
ppc'
|
||||
|
||||
# Initialize some variables set by options.
|
||||
ac_init_help=
|
||||
@@ -12426,7 +12425,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12429 "configure"
|
||||
#line 12428 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -12532,7 +12531,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12535 "configure"
|
||||
#line 12534 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@@ -15681,8 +15680,11 @@ fi
|
||||
SIM_PRIMARY_TARGET=v850
|
||||
fi
|
||||
as_fn_append SIM_ENABLED_ARCHES " v850"
|
||||
subdirs="$subdirs v850"
|
||||
ac_config_files="$ac_config_files v850/Makefile.sim:v850/Makefile.in"
|
||||
|
||||
ac_config_commands="$ac_config_commands v850/Makefile"
|
||||
|
||||
as_fn_append SIM_SUBDIRS " v850"
|
||||
|
||||
ac_config_files="$ac_config_files v850/.gdbinit:common/gdbinit.in"
|
||||
|
||||
@@ -17588,6 +17590,8 @@ do
|
||||
"erc32/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS erc32/Makefile" ;;
|
||||
"erc32/.gdbinit") CONFIG_FILES="$CONFIG_FILES erc32/.gdbinit:common/gdbinit.in" ;;
|
||||
"depdir-erc32") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-erc32" ;;
|
||||
"v850/Makefile.sim") CONFIG_FILES="$CONFIG_FILES v850/Makefile.sim:v850/Makefile.in" ;;
|
||||
"v850/Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS v850/Makefile" ;;
|
||||
"v850/.gdbinit") CONFIG_FILES="$CONFIG_FILES v850/.gdbinit:common/gdbinit.in" ;;
|
||||
"depdir-v850") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir-v850" ;;
|
||||
"example-synacor/Makefile.sim") CONFIG_FILES="$CONFIG_FILES example-synacor/Makefile.sim:example-synacor/Makefile.in" ;;
|
||||
@@ -19290,6 +19294,18 @@ $as_echo X"$file" |
|
||||
rm -f erc32/Makesim1.tmp erc32/Makesim2.tmp
|
||||
;;
|
||||
"depdir-erc32":C) $SHELL $ac_aux_dir/mkinstalldirs erc32/$DEPDIR ;;
|
||||
"v850/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
/^srcdir = / s:$:/v850:
|
||||
p
|
||||
}' \
|
||||
<Make-common.sim >v850/Makesim1.tmp
|
||||
sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' <Make-common.sim >v850/Makesim2.tmp
|
||||
sed -e '/^## COMMON_PRE_/ r v850/Makesim1.tmp' \
|
||||
-e '/^## COMMON_POST_/ r v850/Makesim2.tmp' \
|
||||
<v850/Makefile.sim >v850/Makefile
|
||||
rm -f v850/Makesim1.tmp v850/Makesim2.tmp
|
||||
;;
|
||||
"depdir-v850":C) $SHELL $ac_aux_dir/mkinstalldirs v850/$DEPDIR ;;
|
||||
"example-synacor/Makefile":C) sed -n \
|
||||
-e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ {
|
||||
|
||||
Reference in New Issue
Block a user