source: rtems/c/src/lib/libbsp/sparc/leon2/configure.ac @ b1ded240

4.104.115
Last change on this file since b1ded240 was 5e5d0b1, checked in by Joel Sherrill <joel.sherrill@…>, on May 15, 2008 at 3:53:19 PM

2008-05-15 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-lib-libbsp-sparc-leon],[_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.10])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_PROG_CCAS
17
18RTEMS_CHECK_NETWORKING
19
20AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
21
22RTEMS_CONFIG_BUILD_SUBDIRS(tools)
23
24## bsp-specific options
25RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
26RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
27[The leon2 console driver can operate in either polled or interrupt mode.
28Under the simulator (especially when FAST_UART is defined), polled seems to operate
29better.  It is common for a task to print a line (like the end of test message) and
30then exit.  In this case, the program returns control to the simulator command line
31before the program has even queued the output to the uart.  Thus sis has no chance
32of getting the data out.])
33
34RTEMS_BSPOPTS_SET([SIMSPARC_FAST_IDLE],[*],[])
35RTEMS_BSPOPTS_HELP([SIMSPARC_FAST_IDLE],
36[If defined, speed up the clock ticks while the idle task is running so
37 time spent in the idle task is minimized.  This significantly reduces
38 the wall time required to execute the RTEMS test suites.])
39
40RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
41
42# Explicitly list all Makefiles here
43AC_CONFIG_FILES([Makefile])
44AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.