source: rtems/c/src/lib/libbsp/powerpc/psim/configure.ac @ 438983d2

4.115
Last change on this file since 438983d2 was 438983d2, checked in by Jennifer Averett <Jennifer.Averett@…>, on 06/29/10 at 13:49:06

2010-06-29 Joel Sherrill <Joel.Sherrill@…>

  • configure.ac: Added AC_CHECK_SIZEOF macro.
  • Property mode set to 100644
File size: 1.6 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-powerpc-psim],[_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
15RTEMS_CANONICALIZE_TOOLS
16RTEMS_PROG_CCAS
17
18RTEMS_CHECK_NETWORKING
19
20AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
21
22## This is needed to generate the field offsets of the per CPU
23## data structure so they can be accessed from assembly code.
24AC_CHECK_SIZEOF([void *])
25
26RTEMS_CONFIG_BUILD_SUBDIRS(tools)
27
28RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0])
29RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
30[If defined, then the PowerPC specific code in RTEMS will use some
31of the special purpose registers to slightly optimize interrupt
32response time.  The use of these registers can conflict with
33other tools like debuggers.])
34
35RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0xFFF00100])
36RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
37[This defines the base address of the exception table.
38 NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
39
40RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[psim],[1])
41RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE],
42[This sets a mode where the time runs as fast as possible when
43 a clock ISR occurs while the IDLE thread is executing.  This can
44 significantly reduce simulation times.])
45
46RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
47
48# Explicitly list all Makefiles here
49AC_CONFIG_FILES([Makefile])
50
51RTEMS_PPC_EXCEPTIONS
52
53AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.