forked from Imagelibrary/rtems
Require the user to provide a BSP list when build SMP or MP.
Close 3383.
This commit is contained in:
@@ -6,7 +6,8 @@ AC_ARG_ENABLE(multiprocessing,
|
|||||||
communication interface between different RTEMS instances and allows
|
communication interface between different RTEMS instances and allows
|
||||||
synchronization of objects via message passing])],
|
synchronization of objects via message passing])],
|
||||||
[case "${enable_multiprocessing}" in
|
[case "${enable_multiprocessing}" in
|
||||||
yes) ;;
|
yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([Multiprocessing requires BSPs to be provided, none have, see --enable-rtemsbsp])
|
||||||
|
;;
|
||||||
no) ;;
|
no) ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
|
||||||
esac],[enable_multiprocessing=no])
|
esac],[enable_multiprocessing=no])
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
|
|||||||
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
|
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
|
||||||
AC_ARG_ENABLE(rtemsbsp,
|
AC_ARG_ENABLE(rtemsbsp,
|
||||||
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
|
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
|
||||||
[BSPs to include in build])],
|
[BSPs to include in build, required for SMP and MP builds])],
|
||||||
[case "${enable_rtemsbsp}" in
|
[case "${enable_rtemsbsp}" in
|
||||||
yes ) enable_rtemsbsp="" ;;
|
yes ) enable_rtemsbsp="" ;;
|
||||||
no ) enable_rtemsbsp="no" ;;
|
no ) enable_rtemsbsp="no" ;;
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ AC_ARG_ENABLE(smp,
|
|||||||
[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
|
[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
|
||||||
(SMP)])],
|
(SMP)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) case "${RTEMS_CPU}" 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|sparc|i386) RTEMS_HAS_SMP=yes ;;
|
||||||
*) RTEMS_HAS_SMP=no ;;
|
*) RTEMS_HAS_SMP=no ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -21,13 +21,14 @@ AM_MAINTAINER_MODE
|
|||||||
|
|
||||||
## These option are only in here to let --help report all supported
|
## These option are only in here to let --help report all supported
|
||||||
## options.
|
## options.
|
||||||
|
RTEMS_ENABLE_RTEMSBSP
|
||||||
RTEMS_ENABLE_MULTIPROCESSING
|
RTEMS_ENABLE_MULTIPROCESSING
|
||||||
|
RTEMS_ENABLE_SMP
|
||||||
RTEMS_ENABLE_POSIX
|
RTEMS_ENABLE_POSIX
|
||||||
RTEMS_ENABLE_NETWORKING
|
RTEMS_ENABLE_NETWORKING
|
||||||
RTEMS_ENABLE_CXX
|
RTEMS_ENABLE_CXX
|
||||||
RTEMS_ENABLE_TESTS
|
RTEMS_ENABLE_TESTS
|
||||||
RTEMS_ENABLE_RTEMS_DEBUG
|
RTEMS_ENABLE_RTEMS_DEBUG
|
||||||
RTEMS_ENABLE_RTEMSBSP
|
|
||||||
RTEMS_ENABLE_PARAVIRT
|
RTEMS_ENABLE_PARAVIRT
|
||||||
RTEMS_ENABLE_DRVMGR
|
RTEMS_ENABLE_DRVMGR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user