[rtems commit] check-networking.m4: Disable legacy stack for x86_64 and epiphany

Joel Sherrill joel at rtems.org
Fri Oct 19 18:03:55 UTC 2018


Module:    rtems
Branch:    master
Commit:    b4043ead0bd07108c9ecc228bd42e3ee81fc0c54
Changeset: http://git.rtems.org/rtems/commit/?id=b4043ead0bd07108c9ecc228bd42e3ee81fc0c54

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Sep 24 09:32:49 2018 -0500

check-networking.m4: Disable legacy stack for x86_64 and epiphany

x86_64 is 64-bits and too new for the legacy stack to support.
epiphany is a small target and cannot compile the legacy (or new) stack.

---

 c/src/aclocal/check-networking.m4  | 6 +++++-
 cpukit/aclocal/check-networking.m4 | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/c/src/aclocal/check-networking.m4 b/c/src/aclocal/check-networking.m4
index 89e53f6..b2d9bf5 100644
--- a/c/src/aclocal/check-networking.m4
+++ b/c/src/aclocal/check-networking.m4
@@ -9,7 +9,11 @@ AC_CACHE_CHECK([whether BSP supports networking],
   [dnl
     case "$RTEMS_CPU" in
     # do not have address space to hold BSD TCP/IP stack
-    m32c*)
+    epiphany* | m32c*)
+      rtems_cv_HAS_NETWORKING="no"
+      ;;
+    # Newer architecture ports that should only use new TCP/IP stack
+    x86_64*)
       rtems_cv_HAS_NETWORKING="no"
       ;;
     *)
diff --git a/cpukit/aclocal/check-networking.m4 b/cpukit/aclocal/check-networking.m4
index 72730d2..fdb5a67 100644
--- a/cpukit/aclocal/check-networking.m4
+++ b/cpukit/aclocal/check-networking.m4
@@ -10,7 +10,11 @@ AC_CACHE_CHECK([whether CPU supports networking],
   [dnl
     case "$host" in
     # do not have address space to hold BSD TCP/IP stack
-    m32c*)
+    epiphany* | m32c*)
+      rtems_cv_HAS_NETWORKING="no"
+      ;;
+    # Newer architecture ports that should only use new TCP/IP stack
+    x86_64*)
       rtems_cv_HAS_NETWORKING="no"
       ;;
     *-*-rtems*)



More information about the vc mailing list