Changeset 5e5439a in rtems-testing for rtems


Ignore:
Timestamp:
May 2, 2014, 9:28:39 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
32a4ebc
Parents:
c882ea6
Message:

bit_rtems: Add SMP and keep going support

Location:
rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/bit_rtems

    rc882ea6 r5e5439a  
    282282fi
    283283
     284if [ ${ENABLE_RTEMS_SMP} = yes ] ; then
     285  SMP_FLAG="--enable-smp"
     286else
     287  SMP_FLAG="--disable-smp"
     288fi
     289
    284290if [ ${ENABLE_RTEMS_ITRON} = yes ] ; then
    285291  ITRON_FLAG="--enable-itron"
     
    352358ENABLE_ARGS="\
    353359    --prefix=${INSTALL_POINT} \
    354     ${DISABLE_INLINES_FLAG} ${ENABLE_MP_FLAG} \
     360    ${DISABLE_INLINES_FLAG} ${ENABLE_MP_FLAG} ${ENABLE_SMP_FLAG} \
    355361    ${ENABLE_RTEMS_DEBUG} ${ENABLE_RTEMS_CXX} \
    356362    ${ENABLE_RTEMS_RDBG} ${ENABLE_RTEMS_MAINTAINER_MODE} \
     
    389395echo "Using make ${njobs} parallel jobs"
    390396
     397if [ ${ENABLE_KEEP_BUILDING} = "yes" ] ; then
     398  MAKE_KEEP_GOING_ARG="-k"
     399else
     400  MAKE_KEEP_GOING_ARG=""
     401fi
     402
    391403case ${BSP_TO_TEST} in
    392404  multilib)
    393405     echo "Executing ${MAKE} ${MAKE_DEBUG_ARG} ..."
    394      ${MAKE} -j${njobs} RTEMS_BSP= ${MAKE_DEBUG_ARG}
     406     ${MAKE} -j${njobs} ${MAKE_KEEP_GOING_ARG} ${MAKE_DEBUG_ARG} \
     407             RTEMS_BSP=
    395408     check_fatal $? "failed ${MAKE} ${MAKE_DEBUG_ARG}."
    396409     BSP_TO_TEST=
     
    398411  *)
    399412     echo "Executing ${MAKE} ${MAKE_DEBUG_ARG} ..."
    400      ${MAKE} -j${njobs} RTEMS_BSP=${BSP_TO_TEST} ${MAKE_DEBUG_ARG}
     413     ${MAKE} -j${njobs} ${MAKE_KEEP_GOING_ARG} ${MAKE_DEBUG_ARG} \
     414             RTEMS_BSP=${BSP_TO_TEST}
    401415     check_fatal $? "failed ${MAKE} ${MAKE_DEBUG_ARG}."
    402416     ;;
  • rtems/user.cfg

    rc882ea6 r5e5439a  
    1616#         Linux:    /usr/local/rtems
    1717#         Solaris:  /opt/gnu/rtems
    18 #INSTALL_POINT=/opt/rtems-4.10
    19 #INSTALL_POINT=/opt/rtems-test
    20 INSTALL_POINT=/home/joel/rtems-4.10-work/bsp-install/
    21 #INSTALL_POINT=/home/joel/work-gnat/svn/bsp-install/
     18INSTALL_POINT=/home/joel/rtems-4.11-work/bsp-install/
    2219
    2320#
     
    3633ENABLE_RTEMS_POSIX=yes
    3734
     35# Set this to yes if you want to build the TCP/IP stack and
     36# associated clients and servers.  This is automatically disabled
     37# for BSPs that have no networking support.
     38ENABLE_RTEMS_TCPIP=no
     39
    3840# Set this to yes if you want to enable the RTEMS uITRON 3.0 API
    3941# implementation.  This API is not completely implemented and
     
    4143ENABLE_RTEMS_ITRON=no
    4244
    43 # Set this to yes if you want to enable multiprocessing support.
     45# Set this to yes if you want to enable distributed multiprocessing support.
    4446# Multiprocessing is automatically disabled for BSPs without MP support.
    4547ENABLE_RTEMS_MP=no
     48
     49# Set this to yes if you want to enable SMP support.
     50ENABLE_RTEMS_SMP=yes
    4651
    4752# Set this to yes if you want to enable C++ support including
     
    4954ENABLE_RTEMS_CXX=no
    5055
     56# Set this to yes if you want to keep building (e.g. make -k)
     57ENABLE_KEEP_BUILDING=yes
     58
    5159# Set this to yes if you want to build the full set of RTEMS
    5260# tests appropriate for your configuration.  Or set it to
    5361# samples if you just want the samples
    54 # ENABLE_RTEMS_TESTS=no
     62# ENABLE_RTEMS_TESTS=samples
    5563# ENABLE_RTEMS_TESTS=samples
    5664ENABLE_RTEMS_TESTS=yes
     
    6674# Classic API Ada binding.
    6775ENABLE_RTEMS_ADA_TESTS=yes
    68 
    69 # Set this to yes if you want to build the TCP/IP stack and
    70 # associated clients and servers.  This is automatically disabled
    71 # for BSPs that have no networking support.
    72 ENABLE_RTEMS_TCPIP=yes
    7376
    7477# Set this to yes if you want to enable a remote debugging
Note: See TracChangeset for help on using the changeset viewer.