1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.60) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-motorola_powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_CHECK_TOOL(NM,nm,no) |
---|
17 | RTEMS_PROG_CCAS |
---|
18 | |
---|
19 | RTEMS_CHECK_NETWORKING |
---|
20 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
21 | |
---|
22 | AS=$CC |
---|
23 | AM_PROG_AS |
---|
24 | |
---|
25 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
26 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
27 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
28 | data cache instructions to optimize the context switch code. |
---|
29 | This code can conflict with debuggers or emulators. It is known |
---|
30 | to break the Corelis PowerPC emulator with at least some combinations |
---|
31 | of PowerPC 603e revisions and emulator versions. |
---|
32 | The BSP actually contains the call that enables this.]) |
---|
33 | |
---|
34 | RTEMS_BSPOPTS_SET([mvme2100],[mvme2100],[1]) |
---|
35 | RTEMS_BSPOPTS_SET([mvme2100],[*],[]) |
---|
36 | RTEMS_BSPOPTS_HELP([mvme2100], |
---|
37 | [Defined for MVME2100 -- undefined for others]) |
---|
38 | |
---|
39 | RTEMS_BSPOPTS_SET([mpc8240],[mvme2100],[1]) |
---|
40 | RTEMS_BSPOPTS_SET([mpc8240],[*],[]) |
---|
41 | RTEMS_BSPOPTS_HELP([mpc8240], |
---|
42 | [Defined for boards with MPC8240 -- undefined for others]) |
---|
43 | |
---|
44 | # Explicitly list all Makefiles here |
---|
45 | AC_CONFIG_FILES([Makefile |
---|
46 | bootloader/Makefile]) |
---|
47 | |
---|
48 | RTEMS_PPC_EXCEPTIONS |
---|
49 | |
---|
50 | AC_OUTPUT |
---|