Changeset e1664027 in rtems


Ignore:
Timestamp:
Apr 9, 2018, 6:36:12 AM (13 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
18f77699
Parents:
9f6f026
git-author:
Chris Johns <chrisj@…> (04/09/18 06:36:12)
git-committer:
Chris Johns <chrisj@…> (04/09/18 22:22:07)
Message:

Require the user to provide a BSP list when build SMP or MP.

Close 3383.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • aclocal/enable-multiprocessing.m4

    r9f6f026 re1664027  
    66communication interface between different RTEMS instances and allows
    77synchronization of objects via message passing])],
    8 [case "${enable_multiprocessing}" in
    9   yes) ;;
     8[case "${enable_multiprocessing}" in
     9  yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([Multiprocessing requires BSPs to be provided, none have, see --enable-rtemsbsp])
     10       ;;
    1011  no) ;;
    1112  *)  AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
  • aclocal/enable-rtemsbsp.m4

    r9f6f026 re1664027  
    77AC_ARG_ENABLE(rtemsbsp,
    88[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
    9 [BSPs to include in build])],
     9[BSPs to include in build, required for SMP and MP builds])],
    1010[case "${enable_rtemsbsp}" in
    1111  yes ) enable_rtemsbsp="" ;;
  • aclocal/enable-smp.m4

    r9f6f026 re1664027  
    66[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
    77(SMP)])],
    8 [case "${enableval}" in
    9   yes) case "${RTEMS_CPU}" in
     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
    1011         arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
    1112         *)          RTEMS_HAS_SMP=no ;;
     
    1415  no) RTEMS_HAS_SMP=no ;;
    1516  *)  AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
    16 esac],[RTEMS_HAS_SMP=no]) 
     17esac],[RTEMS_HAS_SMP=no])
    1718])
  • configure.ac

    r9f6f026 re1664027  
    2222## These option are only in here to let --help report all supported
    2323## options.
     24RTEMS_ENABLE_RTEMSBSP
    2425RTEMS_ENABLE_MULTIPROCESSING
     26RTEMS_ENABLE_SMP
    2527RTEMS_ENABLE_POSIX
    2628RTEMS_ENABLE_NETWORKING
     
    2830RTEMS_ENABLE_TESTS
    2931RTEMS_ENABLE_RTEMS_DEBUG
    30 RTEMS_ENABLE_RTEMSBSP
    3132RTEMS_ENABLE_PARAVIRT
    3233RTEMS_ENABLE_DRVMGR
Note: See TracChangeset for help on using the changeset viewer.