1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## configure.ac,v 1.9.2.3 2003/08/11 14:37:22 ralf Exp |
---|
4 | |
---|
5 | AC_PREREQ(2.59) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-beatnik],[_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 nostdinc foreign 1.9]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_PROG_CCAS |
---|
17 | |
---|
18 | RTEMS_CHECK_TOOL([OBJCOPY],[objcopy]) |
---|
19 | |
---|
20 | RTEMS_CHECK_NETWORKING |
---|
21 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
22 | |
---|
23 | ## This is needed to generate the field offsets of the per CPU |
---|
24 | ## data structure so they can be accessed from assembly code. |
---|
25 | AC_CHECK_SIZEOF([void *]) |
---|
26 | |
---|
27 | AS=$CC |
---|
28 | AM_PROG_AS |
---|
29 | |
---|
30 | RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1]) |
---|
31 | RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE], |
---|
32 | [If defined, then the PowerPC specific code in RTEMS will use |
---|
33 | data cache instructions to optimize the context switch code. |
---|
34 | This code can conflict with debuggers or emulators. It is known |
---|
35 | to break the Corelis PowerPC emulator with at least some combinations |
---|
36 | of PowerPC 603e revisions and emulator versions. |
---|
37 | The BSP actually contains the call that enables this.]) |
---|
38 | |
---|
39 | # Explicitly list all Makefiles here |
---|
40 | AC_CONFIG_FILES([Makefile]) |
---|
41 | |
---|
42 | RTEMS_PPC_EXCEPTIONS |
---|
43 | |
---|
44 | AC_OUTPUT |
---|