source: rtems-schedsim/aclocal/check-smp.m4

Last change on this file was ec622ba, checked in by Joel Sherrill <joel.sherrill@…>, on 05/01/13 at 16:04:22

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.

  • Property mode set to 100644
File size: 333 bytes
Line 
1dnl
2AC_DEFUN([RTEMS_CHECK_SMP],
3[dnl
4AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
5
6AC_CACHE_CHECK([whether CPU supports SMP],
7  rtems_cv_HAS_SMP,
8  [dnl
9    case "$RTEMS_CPU" in
10    *)
11      if test "${RTEMS_HAS_SMP}" = "yes"; then
12        rtems_cv_HAS_SMP="yes";
13      else
14        rtems_cv_HAS_SMP="disabled";
15      fi
16      ;;
17    esac])
18])
Note: See TracBrowser for help on using the repository browser.