[d7aecdc] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
| 5 | AC_PREREQ(2.52) |
---|
[bfcd473] | 6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-dmv177],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
---|
[d7aecdc] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | AC_CONFIG_AUX_DIR(../../../../../..) |
---|
| 10 | |
---|
| 11 | RTEMS_CANONICAL_TARGET_CPU |
---|
[bfcd473] | 12 | AM_INIT_AUTOMAKE([no-define foreign 1.6]) |
---|
[9e1ae79] | 13 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 14 | |
---|
| 15 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 16 | RTEMS_CANONICALIZE_TOOLS |
---|
| 17 | |
---|
| 18 | RTEMS_CHECK_NETWORKING |
---|
| 19 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 20 | |
---|
| 21 | ## bsp-specific options |
---|
[0197134] | 22 | RTEMS_BSPOPTS_SET([CONSOLE_USE_INTERRUPTS],[*],[0]) |
---|
| 23 | RTEMS_BSPOPTS_HELP([CONSOLE_USE_INTERRUPTS], |
---|
| 24 | [whether using console interrupts]) |
---|
| 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],[*],[0]) |
---|
| 34 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
| 35 | [If set != 0, 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 | RTEMS_BSPOPTS_SET([DMV177_USE_INSTRUCTION_CACHE],[*],[1]) |
---|
| 43 | RTEMS_BSPOPTS_HELP([DMV177_USE_INSTRUCTION_CACHE], |
---|
| 44 | [If set != 0, then the PowerPC specific code in RTEMS will use |
---|
| 45 | data cache instructions to optimize the context switch code. |
---|
| 46 | This code can conflict with debuggers or emulators. |
---|
| 47 | The BSP actually contains the call that enables this.]) |
---|
[d7aecdc] | 48 | |
---|
| 49 | |
---|
| 50 | # Explicitly list all Makefiles here |
---|
| 51 | AC_CONFIG_FILES([Makefile |
---|
| 52 | clock/Makefile |
---|
| 53 | console/Makefile |
---|
| 54 | include/Makefile |
---|
| 55 | scv64/Makefile |
---|
| 56 | sonic/Makefile |
---|
| 57 | start/Makefile |
---|
| 58 | startup/Makefile |
---|
| 59 | timer/Makefile |
---|
| 60 | tod/Makefile |
---|
[0197134] | 61 | wrapup/Makefile |
---|
| 62 | ]) |
---|
| 63 | |
---|
| 64 | RTEMS_PPC_EXCEPTIONS([old]) |
---|
| 65 | |
---|
[d7aecdc] | 66 | AC_OUTPUT |
---|