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-eth_comm,$RTEMS_VERSION,no) |
---|
13 | RTEMS_BSP_CONFIGURE |
---|
14 | |
---|
15 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
16 | RTEMS_CANONICALIZE_TOOLS |
---|
17 | RTEMS_ENABLE_NETWORKING |
---|
18 | |
---|
19 | RTEMS_CHECK_NETWORKING |
---|
20 | |
---|
21 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
22 | |
---|
23 | # FIXME: Explanation cloned from mbx8xx |
---|
24 | RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0]) |
---|
25 | RTEMS_BSPOPTS_HELP([UARTS_IO_MODE], |
---|
26 | [(BSP--console driver) |
---|
27 | Define to 0 or 1 if you want polled I/O performed by RTEMS. |
---|
28 | Define to 1 if you want interrupt-driven performed by RTEMS. |
---|
29 | Define to 2 if you want polled I/O performed by EPPCBug. |
---|
30 | There is no provision to have a mix of interrupt-driven and polled I/O |
---|
31 | ports, except that the printk port may use a different mode from the |
---|
32 | other ports. If this is done, do not open the printk port from an RTEMS |
---|
33 | application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR |
---|
34 | must be set to SMC1_MINOR. This is a deficiency of the firmware: it |
---|
35 | does not perform serial I/O on any port other than its default debug |
---|
36 | port, which must be SMC1.]) |
---|
37 | |
---|
38 | |
---|
39 | # Explicitly list all Makefiles here |
---|
40 | AC_CONFIG_FILES([Makefile |
---|
41 | clock/Makefile |
---|
42 | canbus/Makefile |
---|
43 | console/Makefile |
---|
44 | include/Makefile |
---|
45 | irq/Makefile |
---|
46 | network/Makefile |
---|
47 | start/Makefile |
---|
48 | startup/Makefile |
---|
49 | vectors/Makefile |
---|
50 | wrapup/Makefile]) |
---|
51 | |
---|
52 | RTEMS_PPC_EXCEPTIONS([new]) |
---|
53 | |
---|
54 | AC_OUTPUT |
---|