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

4.11
Last change on this file since 4f599ed was 4f599ed, checked in by Till Straumann <strauman@…>, on May 18, 2011 at 5:26:53 AM

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: 2.0 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-motorola_powerpc],[_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_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_BSPOPTS_SET([mvme2100],[mvme2100],[1])
45RTEMS_BSPOPTS_SET([mvme2100],[*],[])
46RTEMS_BSPOPTS_HELP([mvme2100],
47[Defined for MVME2100 -- undefined for others])
48
49RTEMS_BSPOPTS_SET([mpc8240],[mvme2100],[1])
50RTEMS_BSPOPTS_SET([mpc8240],[*],[])
51RTEMS_BSPOPTS_HELP([mpc8240],
52[Defined for boards with MPC8240 -- undefined for others])
53
54RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
55
56# Explicitly list all Makefiles here
57AC_CONFIG_FILES([Makefile
58bootloader/Makefile])
59
60RTEMS_PPC_EXCEPTIONS
61
62AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.