Changeset ec622ba in rtems-schedsim


Ignore:
Timestamp:
May 1, 2013, 4:04:22 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
972ce8d
Parents:
2c98493
Message:

alocal/*smp*.m4: Change so SMP can be enabled on Scheduler Simulator

The real RTEMS code ensures that SMP is enabled only for targets
supporting it.

Location:
aclocal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aclocal/check-smp.m4

    r2c98493 rec622ba  
    44AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
    55
    6 AC_CACHE_CHECK([whether CPU supports libposix],
     6AC_CACHE_CHECK([whether CPU supports SMP],
    77  rtems_cv_HAS_SMP,
    88  [dnl
  • aclocal/enable-smp.m4

    r2c98493 rec622ba  
     1# ***** CHANGED FOR SCHEDULER SIMULATOR *****
    12AC_DEFUN([RTEMS_ENABLE_SMP],
    23[
     
    78[case "${enableval}" in
    89  yes) case "${RTEMS_CPU}" in
    9          sparc|i386) RTEMS_HAS_SMP=yes ;;
    10          *)          RTEMS_HAS_SMP=no ;;
     10         #sparc|i386) RTEMS_HAS_SMP=yes ;;
     11         #*)          RTEMS_HAS_SMP=no ;;
     12         *)          RTEMS_HAS_SMP=yes ;;
    1113       esac
    1214       ;;
Note: See TracChangeset for help on using the changeset viewer.