1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.57) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-motorola_powerpc],[_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.7.2]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | |
---|
17 | RTEMS_CHECK_NETWORKING |
---|
18 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
19 | |
---|
20 | AS=$CC |
---|
21 | AM_PROG_AS |
---|
22 | |
---|
23 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
24 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
25 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
26 | data cache instructions to optimize the context switch code. |
---|
27 | This code can conflict with debuggers or emulators. It is known |
---|
28 | to break the Corelis PowerPC emulator with at least some combinations |
---|
29 | of PowerPC 603e revisions and emulator versions. |
---|
30 | The BSP actually contains the call that enables this.]) |
---|
31 | |
---|
32 | ## HACK: This should better be propagated through the BSP's bsp.h. |
---|
33 | ## however, this BSP doesn't have one :( |
---|
34 | AC_DEFINE_UNQUOTED([USE_ENHANCED_INTR_API],[1], |
---|
35 | [Use enhanced intr API]) |
---|
36 | |
---|
37 | # Explicitly list all Makefiles here |
---|
38 | AC_CONFIG_FILES([Makefile |
---|
39 | bootloader/Makefile |
---|
40 | clock/Makefile |
---|
41 | console/Makefile |
---|
42 | irq/Makefile |
---|
43 | motorola/Makefile |
---|
44 | openpic/Makefile |
---|
45 | pci/Makefile |
---|
46 | residual/Makefile |
---|
47 | start/Makefile |
---|
48 | startup/Makefile |
---|
49 | vectors/Makefile |
---|
50 | vme/Makefile |
---|
51 | wrapup/Makefile]) |
---|
52 | |
---|
53 | RTEMS_PPC_EXCEPTIONS([new]) |
---|
54 | |
---|
55 | AC_OUTPUT |
---|