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