summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-09-24 09:32:49 -0500
committerJoel Sherrill <joel@rtems.org>2018-10-18 12:05:41 -0500
commitb4043ead0bd07108c9ecc228bd42e3ee81fc0c54 (patch)
tree51cf2cdad3fe8a42a1880ffc18479f614381f3ac
parent28fb5b71f8bbbf70809a8f07db723e379dd53360 (diff)
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.
-rw-r--r--c/src/aclocal/check-networking.m46
-rw-r--r--cpukit/aclocal/check-networking.m46
2 files changed, 10 insertions, 2 deletions
diff --git a/c/src/aclocal/check-networking.m4 b/c/src/aclocal/check-networking.m4
index 89e53f638e..b2d9bf58d1 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 72730d2084..fdb5a67e86 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*)