[16a8616] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
| 2 | |
---|
[0f77281] | 3 | AC_PREREQ([2.69]) |
---|
[12072880] | 4 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex5],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
---|
[16a8616] | 5 | RTEMS_TOP(../../../../../..) |
---|
[2afb22b] | 6 | RTEMS_SOURCE_TOP |
---|
| 7 | RTEMS_BUILD_TOP |
---|
| 8 | RTEMS_BSP_LINKCMDS |
---|
[16a8616] | 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[4ff09d5b] | 11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
[16a8616] | 12 | RTEMS_BSP_CONFIGURE |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
| 17 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
| 18 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
| 19 | data cache instructions to optimize the context switch code. |
---|
| 20 | This code can conflict with debuggers or emulators. It is known |
---|
| 21 | to break the Corelis PowerPC emulator with at least some combinations |
---|
| 22 | of PowerPC 603e revisions and emulator versions. |
---|
| 23 | The BSP actually contains the call that enables this.]) |
---|
| 24 | |
---|
| 25 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1]) |
---|
| 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_VECTOR_FILE_BASE],[*],[0x0100]) |
---|
| 33 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
| 34 | [This defines the base address of the exception table.]) |
---|
| 35 | |
---|
[eaf5bec] | 36 | AC_DEFINE(ppc440, 1, [PowerPC model option]) |
---|
| 37 | |
---|
[3dd381f] | 38 | RTEMS_BSP_CLEANUP_OPTIONS |
---|
[16a8616] | 39 | |
---|
| 40 | # Explicitly list all Makefiles here |
---|
| 41 | AC_CONFIG_FILES([Makefile]) |
---|
| 42 | |
---|
| 43 | RTEMS_PPC_EXCEPTIONS |
---|
| 44 | |
---|
| 45 | AC_OUTPUT |
---|