source: rtems/c/src/lib/libbsp/sparc/erc32/configure.ac @ 20546ace

4.115
Last change on this file since 20546ace was 20546ace, checked in by Joel Sherrill <joel.sherrill@…>, on 03/16/11 at 20:05:26

2011-03-16 Jennifer Averett <jennifer.averett@…>

PR 1729/cpukit

  • Makefile.am, configure.ac: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-lib-libbsp-sparc-erc32],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.11.1])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_PROG_CCAS
17
18RTEMS_CHECK_NETWORKING
19RTEMS_CHECK_SMP
20
21AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
22AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
23
24RTEMS_CONFIG_BUILD_SUBDIRS(tools)
25
26## bsp-specific options
27RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
28RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
29[The erc32 console driver can operate in either polled or interrupt mode.
30Under the simulator (especially when FAST_UART is defined), polled seems to operate
31better.  It is common for a task to print a line (like the end of test message) and
32then exit.  In this case, the program returns control to the simulator command line
33before the program has even queued the output to the uart.  Thus sis has no chance
34of getting the data out.])
35
36RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
37RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
38[If defined, speed up the clock ticks while the idle task is running so
39 time spent in the idle task is minimized.  This significantly reduces
40 the wall time required to execute the RTEMS test suites.])
41
42RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[sis],[1])
43RTEMS_BSPOPTS_SET([ENABLE_SIS_QUIRKS],[*],[0])
44RTEMS_BSPOPTS_HELP([ENABLE_SIS_QUIRKS],
45[If defined, then the SIS simulator specific code in the
46 BSP will be enabled.  In particular, SIS requires special
47 initialization not used on real ERC32 hardware.])
48
49RTEMS_BSP_CLEANUP_OPTIONS(0,0)
50
51# Explicitly list all Makefiles here
52AC_CONFIG_FILES([Makefile])
53AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.