source: rtems/aclocal/enable-smp.m4 @ ef30eb1

5
Last change on this file since ef30eb1 was 853c5ef, checked in by Sebastian Huber <sebastian.huber@…>, on 05/11/18 at 04:25:47

build: Enable RISC-V SMP build

Update #3433.

  • Property mode set to 100644
File size: 598 bytes
RevLine 
[054b1c6]1AC_DEFUN([RTEMS_ENABLE_SMP],
2[
3## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
4
5AC_ARG_ENABLE(smp,
[aec0e195]6[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
7(SMP)])],
[e1664027]8[case "${enableval}" in
9  yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([SMP requires BSPs to be provided, none have, see --enable-rtemsbsp])
10       case "${RTEMS_CPU}" in
[853c5ef]11         arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
[054b1c6]12         *)          RTEMS_HAS_SMP=no ;;
13       esac
14       ;;
15  no) RTEMS_HAS_SMP=no ;;
16  *)  AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
[e1664027]17esac],[RTEMS_HAS_SMP=no])
[054b1c6]18])
Note: See TracBrowser for help on using the repository browser.