source: rtems/c/src/lib/libbsp/powerpc/mvme5500/configure.ac @ 37834667

4.10
Last change on this file since 37834667 was 37834667, checked in by Till Straumann <strauman@…>, on 05/18/11 at 05:08:36

2011-05-18 Till Straumann <strauman@…>

PR1797/bsps: Applied cleaned-up version of Kate's patch.
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
setting and as such configurable.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## configure.ac,v 1.9.2.2 2003/03/06 10:42:42 ralf Exp
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-lib-libbsp-powerpc-mvme5500],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
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_CHECK_TOOL(NM,nm,no)
17RTEMS_PROG_CCAS
18
19RTEMS_CHECK_NETWORKING
20AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
21
22AS=$CC
23AM_PROG_AS
24
25RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
26RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
27[If defined, then the PowerPC specific code in RTEMS will use
28 data cache instructions to optimize the context switch code.
29 This code can conflict with debuggers or emulators.  It is known
30 to break the Corelis PowerPC emulator with at least some combinations
31 of PowerPC 603e revisions and emulator versions.
32 The BSP actually contains the call that enables this.])
33
34RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
35RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
36[If defined then the BSP may reduce the available memory size
37initially. This can be useful for debugging (reduce the core
38size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
39Note that the policy can still be defined by the application
40(see sbrk.c, BSP_sbrk_policy). By undefining
41CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
42and a little memory is saved.])
43
44RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
45
46# Explicitly list all Makefiles here
47AC_CONFIG_FILES([Makefile])
48
49RTEMS_PPC_EXCEPTIONS
50
51AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.