LDFLAGS
LIBS
CPPFLAGS'
-ac_subdirs_all='arm
+ac_subdirs_all='aarch64
+arm
avr
bfin
cr16
mips
mn10300
moxie
+msp430
+rl78
rx
sh64
sh
erc32
ppc
+ft32
v850
testsuite
-common
igen'
# Initialize some variables set by options.
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-sim
+ --enable-sim Enable the GNU simulator
Some influential environment variables:
CC C compiler command
# Put a plausible default for CC_FOR_BUILD in Makefile.
-if test "x$cross_compiling" = "xno"; then
- CC_FOR_BUILD='$(CC)'
-else
- CC_FOR_BUILD=gcc
+if test -z "$CC_FOR_BUILD"; then
+ if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+ else
+ CC_FOR_BUILD=gcc
+ fi
fi
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
-sim_testsuite=no
-sim_common=yes
sim_igen=no
sim_arch=
case "${target}" in
- arm*-*-*)
+ aarch64*-*-*)
- sim_arch=arm
+ sim_arch=aarch64
+
+
+subdirs="$subdirs aarch64"
-subdirs="$subdirs arm"
+ ;;
+ arm*-*-*)
+
+ sim_arch=arm
+ subdirs="$subdirs arm"
- sim_testsuite=yes
;;
avr*-*-*)
subdirs="$subdirs bfin"
- sim_testsuite=yes
;;
cr16*-*-*)
subdirs="$subdirs cr16"
- sim_testsuite=yes
;;
cris-*-* | crisv32-*-*)
subdirs="$subdirs cris"
- sim_testsuite=yes
;;
d10v-*-*)
subdirs="$subdirs frv"
- sim_testsuite=yes
;;
h8300*-*-*)
subdirs="$subdirs h8300"
- sim_testsuite=yes
;;
iq2000-*-*)
subdirs="$subdirs iq2000"
- sim_testsuite=yes
;;
lm32-*-*)
subdirs="$subdirs lm32"
- sim_testsuite=yes
;;
m32c-*-*)
subdirs="$subdirs m32r"
- sim_testsuite=yes
;;
m68hc11-*-*|m6811-*-*)
subdirs="$subdirs m68hc11"
- sim_testsuite=yes
;;
mcore-*-*)
subdirs="$subdirs mcore"
- sim_testsuite=yes
;;
microblaze-*-*)
subdirs="$subdirs microblaze"
- sim_testsuite=yes
;;
mips*-*-*)
subdirs="$subdirs mips"
- sim_testsuite=yes
sim_igen=yes
;;
mn10300*-*-*)
subdirs="$subdirs moxie"
- sim_testsuite=yes
+ ;;
+ msp430*-*-*)
+
+ sim_arch=msp430
+ subdirs="$subdirs msp430"
+
+
+ ;;
+ rl78-*-*)
+
+ sim_arch=rl78
+ subdirs="$subdirs rl78"
+
+
;;
rx-*-*)
subdirs="$subdirs sh64"
- sim_testsuite=yes
;;
sh*-*-*)
subdirs="$subdirs sh"
- sim_testsuite=yes
;;
sparc-*-rtems*|sparc-*-elf*)
subdirs="$subdirs erc32"
- sim_testsuite=yes
;;
powerpc*-*-*)
;;
+ ft32-*-*)
+
+ sim_arch=ft32
+ subdirs="$subdirs ft32"
+
+
+ ;;
v850*-*-*)
sim_arch=v850
sim_igen=yes
- sim_testsuite=yes
- ;;
- *)
- # No simulator subdir, so the subdir "common" isn't needed.
- sim_common=no
;;
esac
- if test "$sim_testsuite" = yes; then
- subdirs="$subdirs testsuite"
+ subdirs="$subdirs testsuite"
- fi
- if test "$sim_common" = yes; then
- subdirs="$subdirs common"
-
- fi
if test "$sim_igen" = yes; then
subdirs="$subdirs igen"