Bring in support for the NFP target in the config.sub file.
[deliverable/binutils-gdb.git] / sim / configure
index a90d352fdbc97cb8aa562d7e0aaa7caa6305d43f..b90152e7fbea3c5fbf9fcc7f6c0f16ab079209f8 100755 (executable)
@@ -634,7 +634,8 @@ CFLAGS
 LDFLAGS
 LIBS
 CPPFLAGS'
-ac_subdirs_all='arm
+ac_subdirs_all='aarch64
+arm
 avr
 bfin
 cr16
@@ -652,6 +653,7 @@ microblaze
 mips
 mn10300
 moxie
+or1k
 msp430
 rl78
 rx
@@ -662,7 +664,6 @@ ppc
 ft32
 v850
 testsuite
-common
 igen'
 
 # Initialize some variables set by options.
@@ -3589,10 +3590,12 @@ fi
 
 
 # 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}}
@@ -3621,16 +3624,22 @@ if test "${enable_sim}" != no; then
 
 
 
-sim_common=yes
 sim_igen=no
 sim_arch=
 case "${target}" in
-   arm*-*-*)
+   aarch64*-*-*)
 
-  sim_arch=arm
+  sim_arch=aarch64
 
 
-subdirs="$subdirs arm"
+subdirs="$subdirs aarch64"
+
+
+       ;;
+   arm*-*-*)
+
+  sim_arch=arm
+  subdirs="$subdirs arm"
 
 
        ;;
@@ -3761,6 +3770,14 @@ subdirs="$subdirs arm"
   subdirs="$subdirs msp430"
 
 
+       ;;
+   or1k-*-* | or1knd-*-*)
+
+  sim_arch=or1k
+  subdirs="$subdirs or1k"
+
+
+       sim_testsuite=yes
        ;;
    rl78-*-*)
 
@@ -3819,19 +3836,11 @@ 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"
 
This page took 0.024656 seconds and 4 git commands to generate.