source: rtems/c/src/lib/libbsp/powerpc/ep1a/configure.ac @ 4f599ed

4.115
Last change on this file since 4f599ed was 4f599ed, checked in by Till Straumann <strauman@…>, on 05/18/11 at 05:26:53

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.9 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-powerpc-ep1a],[_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_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[0])
19RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
20[If defined, then the PowerPC specific code in RTEMS will use
21 data cache instructions to optimize the context switch code.
22 This code can conflict with debuggers or emulators.  It is known
23 to break the Corelis PowerPC emulator with at least some combinations
24 of PowerPC 603e revisions and emulator versions.
25 The BSP actually contains the call that enables this.])
26
27RTEMS_BSPOPTS_SET([INSTRUCTION_CACHE_ENABLE],[*],[0])
28RTEMS_BSPOPTS_HELP([INSTRUCTION_CACHE_ENABLE],
29[If defined, the instruction cache will be enabled after address translation
30 is turned on.])
31
32RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0])
33RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS],
34[whether using console interrupts])
35
36RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1])
37RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK],
38[If defined then the BSP may reduce the available memory size
39initially. This can be useful for debugging (reduce the core
40size) or dynamic loading (std gcc text offsets/jumps are < +/-32M).
41Note that the policy can still be defined by the application
42(see sbrk.c, BSP_sbrk_policy). By undefining
43CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed
44and a little memory is saved.])
45
46RTEMS_CHECK_NETWORKING
47AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
48
49RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
50
51# Explicitly list all Makefiles here
52AC_CONFIG_FILES([Makefile])
53
54RTEMS_PPC_EXCEPTIONS
55
56AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.