5
Last change
on this file since 0fe48afa was
e1664027,
checked in by Chris Johns <chrisj@…>, on 04/09/18 at 06:36:12
|
Require the user to provide a BSP list when build SMP or MP.
Close 3383.
|
-
Property mode set to
100644
|
File size:
591 bytes
|
Line | |
---|
1 | AC_DEFUN([RTEMS_ENABLE_SMP], |
---|
2 | [ |
---|
3 | ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl |
---|
4 | |
---|
5 | AC_ARG_ENABLE(smp, |
---|
6 | [AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing |
---|
7 | (SMP)])], |
---|
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 |
---|
11 | arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;; |
---|
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) ;; |
---|
17 | esac],[RTEMS_HAS_SMP=no]) |
---|
18 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.