LDFLAGS
LIBS
CPPFLAGS'
-ac_subdirs_all='arm
+ac_subdirs_all='aarch64
+arm
avr
bfin
cr16
ft32
v850
testsuite
-common
igen'
# Initialize some variables set by options.
# 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_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_igen=yes
;;
- *)
- # No simulator subdir, so the subdir "common" isn't needed.
- sim_common=no
- ;;
esac
subdirs="$subdirs testsuite"
- if test "$sim_common" = yes; then
- subdirs="$subdirs common"
-
- fi
if test "$sim_igen" = yes; then
subdirs="$subdirs igen"