1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | |
---|
3 | AC_PREREQ([2.68]) |
---|
4 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
5 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
6 | RTEMS_TOP(../../../../../..) |
---|
7 | |
---|
8 | RTEMS_CANONICAL_TARGET_CPU |
---|
9 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.11.1]) |
---|
10 | RTEMS_BSP_CONFIGURE |
---|
11 | |
---|
12 | RTEMS_PROG_CC_FOR_TARGET |
---|
13 | RTEMS_CANONICALIZE_TOOLS |
---|
14 | RTEMS_PROG_CCAS |
---|
15 | |
---|
16 | RTEMS_CHECK_NETWORKING |
---|
17 | |
---|
18 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
19 | |
---|
20 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0]) |
---|
21 | RTEMS_BSPOPTS_HELP([PPC_USE_SPRG], |
---|
22 | [If defined, then the PowerPC specific code in RTEMS will use some |
---|
23 | of the special purpose registers to slightly optimize interrupt |
---|
24 | response time. The use of these registers can conflict with |
---|
25 | other tools like debuggers.]) |
---|
26 | |
---|
27 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0xFFF00100]) |
---|
28 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
29 | [This defines the base address of the exception table. |
---|
30 | NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.]) |
---|
31 | |
---|
32 | RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[psim],[1]) |
---|
33 | RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE], |
---|
34 | [This sets a mode where the time runs as fast as possible when |
---|
35 | a clock ISR occurs while the IDLE thread is executing. This can |
---|
36 | significantly reduce simulation times.]) |
---|
37 | |
---|
38 | RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1]) |
---|
39 | RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], |
---|
40 | [If defined then the BSP may reduce the available memory size |
---|
41 | initially. This can be useful for debugging (reduce the core |
---|
42 | size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). |
---|
43 | Note that the policy can still be defined by the application |
---|
44 | (see sbrk.c, BSP_sbrk_policy). By undefining |
---|
45 | CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed |
---|
46 | and a little memory is saved.]) |
---|
47 | |
---|
48 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0) |
---|
49 | |
---|
50 | # Explicitly list all Makefiles here |
---|
51 | AC_CONFIG_FILES([Makefile]) |
---|
52 | |
---|
53 | RTEMS_PPC_EXCEPTIONS |
---|
54 | |
---|
55 | AC_OUTPUT |
---|