[PATCH 6/6] check-networking.m4: Disable legacy stack for riscv, x86_64, and epiphany

Joel Sherrill joel at rtems.org
Mon Oct 8 13:26:47 UTC 2018


riscv and x86_64 are 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..199ec76 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
+    riscv* | x86_64*)
       rtems_cv_HAS_NETWORKING="no"
       ;;
     *)
diff --git a/cpukit/aclocal/check-networking.m4 b/cpukit/aclocal/check-networking.m4
index 72730d2..7911317 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
+    riscv* | x86_64*)
       rtems_cv_HAS_NETWORKING="no"
       ;;
     *-*-rtems*)
-- 
1.8.3.1




More information about the devel mailing list