X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fconfigure;h=11c98090d1f32f8e01f2ca6d9b18e5d5dc5b6a61;hb=f6475b4872707a92be2c7c28f83d55d891a93ed2;hp=4f11312e7d03cb7db9d00c6d3b8412e371b463ec;hpb=21bc75678ff404bacf11a79e94574d5c25945644;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/configure b/sim/configure index 4f11312e7d..11c98090d1 100755 --- a/sim/configure +++ b/sim/configure @@ -273,24 +273,30 @@ PACKAGE_BUGREPORT= ac_unique_file="Makefile.in" ac_subdirs_all="$ac_subdirs_all arm" +ac_subdirs_all="$ac_subdirs_all avr" +ac_subdirs_all="$ac_subdirs_all cr16" ac_subdirs_all="$ac_subdirs_all cris" ac_subdirs_all="$ac_subdirs_all d10v" ac_subdirs_all="$ac_subdirs_all frv" ac_subdirs_all="$ac_subdirs_all h8300" ac_subdirs_all="$ac_subdirs_all iq2000" +ac_subdirs_all="$ac_subdirs_all lm32" +ac_subdirs_all="$ac_subdirs_all m32c" ac_subdirs_all="$ac_subdirs_all m32r" ac_subdirs_all="$ac_subdirs_all m68hc11" ac_subdirs_all="$ac_subdirs_all mcore" ac_subdirs_all="$ac_subdirs_all mips" ac_subdirs_all="$ac_subdirs_all mn10300" +ac_subdirs_all="$ac_subdirs_all moxie" ac_subdirs_all="$ac_subdirs_all sh64" ac_subdirs_all="$ac_subdirs_all sh" +ac_subdirs_all="$ac_subdirs_all erc32" ac_subdirs_all="$ac_subdirs_all ppc" ac_subdirs_all="$ac_subdirs_all v850" ac_subdirs_all="$ac_subdirs_all testsuite" ac_subdirs_all="$ac_subdirs_all common" ac_subdirs_all="$ac_subdirs_all igen" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD subdirs LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os HDEFINES CC_FOR_BUILD CFLAGS_FOR_BUILD subdirs LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -3386,6 +3392,8 @@ else CC_FOR_BUILD=gcc fi +CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} + # If a cpu ever has more than one simulator to choose from, use # --enable-sim=... to choose. @@ -3409,7 +3417,7 @@ fi; if test "${enable_sim}" != no; then testsuite=no - common=no + common=yes igen=no case "${target}" in arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*) @@ -3418,7 +3426,19 @@ if test "${enable_sim}" != no; then subdirs="$subdirs arm" testsuite=yes - common=yes + ;; + avr*-*-*) + + +subdirs="$subdirs avr" + + ;; + cr16*-*-*) + + +subdirs="$subdirs cr16" + + testsuite=yes ;; cris-*-* | crisv32-*-*) @@ -3426,7 +3446,6 @@ subdirs="$subdirs arm" subdirs="$subdirs cris" testsuite=yes - common=yes ;; d10v-*-*) @@ -3440,7 +3459,6 @@ subdirs="$subdirs d10v" subdirs="$subdirs frv" testsuite=yes - common=yes ;; h8300*-*-*) @@ -3448,7 +3466,6 @@ subdirs="$subdirs frv" subdirs="$subdirs h8300" testsuite=yes - common=yes ;; iq2000-*-*) @@ -3456,15 +3473,26 @@ subdirs="$subdirs h8300" subdirs="$subdirs iq2000" testsuite=yes - common=yes ;; + lm32-*-*) + + +subdirs="$subdirs lm32" + + testsuite=yes + ;; + m32c-*-*) + + +subdirs="$subdirs m32c" + + ;; m32r-*-*) subdirs="$subdirs m32r" testsuite=yes - common=yes ;; m68hc11-*-*|m6811-*-*) @@ -3472,7 +3500,6 @@ subdirs="$subdirs m32r" subdirs="$subdirs m68hc11" testsuite=yes - common=yes ;; mcore-*-*) @@ -3480,7 +3507,6 @@ subdirs="$subdirs m68hc11" subdirs="$subdirs mcore" testsuite=yes - common=yes ;; mips*-*-*) @@ -3488,7 +3514,6 @@ subdirs="$subdirs mcore" subdirs="$subdirs mips" testsuite=yes - common=yes igen=yes ;; mn10300*-*-*) @@ -3496,38 +3521,53 @@ subdirs="$subdirs mips" subdirs="$subdirs mn10300" - common=yes igen=yes ;; - sh64-*-*) + moxie-*-*) + + +subdirs="$subdirs moxie" + + testsuite=yes + ;; + sh64*-*-*) subdirs="$subdirs sh64" testsuite=yes - common=yes ;; - sh-*-*) + sh*-*-*) subdirs="$subdirs sh" testsuite=yes - common=yes + ;; + sparc-*-rtems*|sparc-*-elf*) + + +subdirs="$subdirs erc32" + + testsuite=yes ;; powerpc*-*-* ) subdirs="$subdirs ppc" - common=yes ;; v850*-*-* ) subdirs="$subdirs v850" - common=yes + igen=yes + testsuite=yes + ;; + *) + # No simulator subdir, so the subdir "common" isn't needed. + common=no ;; esac if test "$testsuite" = yes; then @@ -4214,6 +4254,7 @@ s,@target_vendor@,$target_vendor,;t t s,@target_os@,$target_os,;t t s,@HDEFINES@,$HDEFINES,;t t s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t +s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t s,@subdirs@,$subdirs,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t