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