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