1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.57) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-score603e],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define foreign 1.7.2]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | |
---|
17 | |
---|
18 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
19 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
20 | [whether using console interrupts]) |
---|
21 | |
---|
22 | RTEMS_BSPOPTS_SET([INITIALIZE_COM_PORTS],[*],[1]) |
---|
23 | RTEMS_BSPOPTS_HELP([INITIALIZE_COM_PORTS], |
---|
24 | [FIXME: Missing explanation]) |
---|
25 | |
---|
26 | RTEMS_BSPOPTS_SET([HAS_PMC_PSC8],[*],[0]) |
---|
27 | RTEMS_BSPOPTS_HELP([HAS_PMC_PSC8], |
---|
28 | [FIXME: Missing explanation]) |
---|
29 | |
---|
30 | ## FIXME: This should be a 1 out of 3 selection |
---|
31 | ## and is somehow coupled to USE_DINK (cf. include/gen2.h) |
---|
32 | RTEMS_BSPOPTS_SET([SCORE603E_USE_SDS],[*],[0]) |
---|
33 | RTEMS_BSPOPTS_HELP([SCORE603E_USE_SDS], |
---|
34 | [use SDS ROM monitor]) |
---|
35 | |
---|
36 | RTEMS_BSPOPTS_SET([SCORE603E_OPEN_FIRMWARE],[*],[0]) |
---|
37 | RTEMS_BSPOPTS_HELP([SCORE603E_OPEN_FIRMWARE], |
---|
38 | [use Open Firmware ROM monitor]) |
---|
39 | |
---|
40 | RTEMS_BSPOPTS_SET([SCORE603E_USE_NONE],[*],[0]) |
---|
41 | RTEMS_BSPOPTS_HELP([SCORE603E_USE_NONE], |
---|
42 | [use no ROM monitor]) |
---|
43 | |
---|
44 | RTEMS_BSPOPTS_SET([SCORE603E_USE_DINK],[*],[1]) |
---|
45 | RTEMS_BSPOPTS_HELP([SCORE603E_USE_DINK], |
---|
46 | [FIXME: Missing explanation.]) |
---|
47 | |
---|
48 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0]) |
---|
49 | RTEMS_BSPOPTS_HELP([PPC_USE_SPRG], |
---|
50 | [If defined, then the PowerPC specific code in RTEMS will use some |
---|
51 | of the special purpose registers to slightly optimize interrupt |
---|
52 | response time. The use of these registers can conflict with |
---|
53 | other tools like debuggers.]) |
---|
54 | |
---|
55 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[0]) |
---|
56 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
57 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
58 | data cache instructions to optimize the context switch code. |
---|
59 | This code can conflict with debuggers or emulators. It is known |
---|
60 | to break the Corelis PowerPC emulator with at least some combinations |
---|
61 | of PowerPC 603e revisions and emulator versions. |
---|
62 | The BSP actually contains the call that enables this.]) |
---|
63 | |
---|
64 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100]) |
---|
65 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
66 | [This defines the base address of the exception table. |
---|
67 | NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.]) |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | # Explicitly list all Makefiles here |
---|
72 | AC_CONFIG_FILES([Makefile |
---|
73 | PCI_bus/Makefile |
---|
74 | clock/Makefile |
---|
75 | console/Makefile |
---|
76 | start/Makefile |
---|
77 | startup/Makefile |
---|
78 | timer/Makefile |
---|
79 | tod/Makefile |
---|
80 | vectors/Makefile |
---|
81 | wrapup/Makefile]) |
---|
82 | |
---|
83 | RTEMS_PPC_EXCEPTIONS([old]) |
---|
84 | |
---|
85 | AC_OUTPUT |
---|