[PATCH 14/17] build: Enable RISC-V SMP build
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Jun 22 11:59:11 UTC 2018
Update #3433.
---
aclocal/enable-smp.m4 | 2 +-
c/src/aclocal/enable-smp.m4 | 2 +-
cpukit/aclocal/enable-smp.m4 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4
index e6461de685..b8767923c7 100644
--- a/aclocal/enable-smp.m4
+++ b/aclocal/enable-smp.m4
@@ -8,7 +8,7 @@ AC_ARG_ENABLE(smp,
[case "${enableval}" in
yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([SMP requires BSPs to be provided, none have, see --enable-rtemsbsp])
case "${RTEMS_CPU}" in
- arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
+ arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
diff --git a/c/src/aclocal/enable-smp.m4 b/c/src/aclocal/enable-smp.m4
index 590a7b15ff..1448a2e5eb 100644
--- a/c/src/aclocal/enable-smp.m4
+++ b/c/src/aclocal/enable-smp.m4
@@ -7,7 +7,7 @@ AC_ARG_ENABLE(smp,
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
- arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
+ arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
diff --git a/cpukit/aclocal/enable-smp.m4 b/cpukit/aclocal/enable-smp.m4
index 590a7b15ff..1448a2e5eb 100644
--- a/cpukit/aclocal/enable-smp.m4
+++ b/cpukit/aclocal/enable-smp.m4
@@ -7,7 +7,7 @@ AC_ARG_ENABLE(smp,
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
- arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
+ arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
--
2.13.7
More information about the devel
mailing list