1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.52) |
---|
6 | AC_INIT |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | AC_CONFIG_AUX_DIR(../../../../../..) |
---|
10 | |
---|
11 | RTEMS_CANONICAL_TARGET_CPU |
---|
12 | AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-ppcn_60x,$RTEMS_VERSION,no) |
---|
13 | RTEMS_BSP_CONFIGURE |
---|
14 | |
---|
15 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
16 | RTEMS_CANONICALIZE_TOOLS |
---|
17 | |
---|
18 | RTEMS_CHECK_NETWORKING |
---|
19 | |
---|
20 | # Don't build the network directory |
---|
21 | # The problem is that the code there has not yet been converted to |
---|
22 | # bsd networking |
---|
23 | AM_CONDITIONAL(HAS_NETWORKING,false) |
---|
24 | # AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
25 | |
---|
26 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0]) |
---|
27 | RTEMS_BSPOPTS_HELP([PPC_USE_SPRG], |
---|
28 | [If defined, then the PowerPC specific code in RTEMS will use some |
---|
29 | of the special purpose registers to slightly optimize interrupt |
---|
30 | response time. The use of these registers can conflict with |
---|
31 | other tools like debuggers.]) |
---|
32 | |
---|
33 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
34 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
35 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
36 | data cache instructions to optimize the context switch code. |
---|
37 | This code can conflict with debuggers or emulators. It is known |
---|
38 | to break the Corelis PowerPC emulator with at least some combinations |
---|
39 | of PowerPC 603e revisions and emulator versions. |
---|
40 | The BSP actually contains the call that enables this.]) |
---|
41 | |
---|
42 | # FIXME: This should be a 1 out of 2 (3??) selection. |
---|
43 | RTEMS_BSPOPTS_SET([PPCN_60X_USE_DINK],[*],[1]) |
---|
44 | RTEMS_BSPOPTS_HELP([PPCN_60X_USE_DINK], |
---|
45 | [The Score603e board can be configured with 3 ROM monitors. Only two |
---|
46 | are appropriate for use with RTEMS. Set exactly one of these to "1" |
---|
47 | to indicate which ROM monitor is on the board you are using. Corresponds to |
---|
48 | PPCN_60X_USE_NONE]) |
---|
49 | |
---|
50 | RTEMS_BSPOPTS_SET([PPCN_60X_USE_NONE],[*],[0]) |
---|
51 | RTEMS_BSPOPTS_HELP([PPCN_60X_USE_NONE], |
---|
52 | [The Score603e board can be configured with 3 ROM monitors. Only two |
---|
53 | are appropriate for use with RTEMS. Set exactly one of these to "1" |
---|
54 | to indicate which ROM monitor is on the board you are using. Corresponds to |
---|
55 | PPCN_60X_USE_DINK]) |
---|
56 | |
---|
57 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100]) |
---|
58 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
59 | [This defines the base address of the exception table. |
---|
60 | NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.]) |
---|
61 | |
---|
62 | |
---|
63 | # Explicitly list all Makefiles here |
---|
64 | AC_CONFIG_FILES([Makefile |
---|
65 | clock/Makefile |
---|
66 | console/Makefile |
---|
67 | include/Makefile |
---|
68 | network/Makefile |
---|
69 | nvram/Makefile |
---|
70 | pci/Makefile |
---|
71 | start/Makefile |
---|
72 | startup/Makefile |
---|
73 | timer/Makefile |
---|
74 | tod/Makefile |
---|
75 | universe/Makefile |
---|
76 | vectors/Makefile |
---|
77 | wrapup/Makefile]) |
---|
78 | |
---|
79 | RTEMS_PPC_EXCEPTIONS([old]) |
---|
80 | |
---|
81 | AC_OUTPUT |
---|