1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.59) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define foreign 1.8]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
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 | |
---|
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 | |
---|
35 | |
---|
36 | # Explicitly list all Makefiles here |
---|
37 | AC_CONFIG_FILES([Makefile |
---|
38 | clock/Makefile |
---|
39 | console/Makefile |
---|
40 | shmsupp/Makefile |
---|
41 | start/Makefile |
---|
42 | startup/Makefile |
---|
43 | timer/Makefile |
---|
44 | vectors/Makefile |
---|
45 | wrapup/Makefile]) |
---|
46 | |
---|
47 | RTEMS_PPC_EXCEPTIONS([old]) |
---|
48 | |
---|
49 | AC_OUTPUT |
---|