source: rtems/c/src/lib/libbsp/powerpc/beatnik/configure.ac @ 7383b644

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