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