source: rtems-schedsim/aclocal/enable-smp.m4 @ fa45079

Last change on this file since fa45079 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: 524 bytes
Line 
1# ***** CHANGED FOR SCHEDULER SIMULATOR *****
2AC_DEFUN([RTEMS_ENABLE_SMP],
3[
4## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
5
6AC_ARG_ENABLE(smp,
7[AS_HELP_STRING([--enable-smp],[enable smp interface])],
8[case "${enableval}" in
9  yes) case "${RTEMS_CPU}" in
10         #sparc|i386) RTEMS_HAS_SMP=yes ;;
11         #*)          RTEMS_HAS_SMP=no ;;
12         *)          RTEMS_HAS_SMP=yes ;;
13       esac
14       ;;
15  no) RTEMS_HAS_SMP=no ;;
16  *)  AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
17esac],[RTEMS_HAS_SMP=no])
18])
Note: See TracBrowser for help on using the repository browser.