[d7aecdc] | 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-psim,$RTEMS_VERSION,no) |
---|
[9e1ae79] | 13 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 14 | |
---|
| 15 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 16 | RTEMS_CANONICALIZE_TOOLS |
---|
| 17 | |
---|
| 18 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
---|
| 19 | |
---|
| 20 | AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes") |
---|
| 21 | |
---|
| 22 | RTEMS_CONFIG_BUILD_SUBDIRS(tools) |
---|
| 23 | |
---|
[6af8512c] | 24 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0]) |
---|
| 25 | RTEMS_BSPOPTS_HELP([PPC_USE_SPRG], |
---|
| 26 | [If defined, then the PowerPC specific code in RTEMS will use some |
---|
| 27 | of the special purpose registers to slightly optimize interrupt |
---|
| 28 | response time. The use of these registers can conflict with |
---|
| 29 | other tools like debuggers.]) |
---|
| 30 | |
---|
| 31 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0xFFF00100]) |
---|
| 32 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
| 33 | [This defines the base address of the exception table. |
---|
| 34 | NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.]) |
---|
| 35 | |
---|
[d7aecdc] | 36 | |
---|
| 37 | # Explicitly list all Makefiles here |
---|
| 38 | AC_CONFIG_FILES([Makefile |
---|
| 39 | clock/Makefile |
---|
| 40 | console/Makefile |
---|
| 41 | include/Makefile |
---|
| 42 | shmsupp/Makefile |
---|
| 43 | start/Makefile |
---|
| 44 | startup/Makefile |
---|
| 45 | timer/Makefile |
---|
| 46 | vectors/Makefile |
---|
| 47 | wrapup/Makefile]) |
---|
| 48 | |
---|
[6af8512c] | 49 | RTEMS_PPC_EXCEPTIONS([old]) |
---|
| 50 | |
---|
| 51 | AC_OUTPUT |
---|