1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ([2.68]) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc8260ads],[_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.11.1]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_PROG_CCAS |
---|
17 | |
---|
18 | RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[]) |
---|
19 | RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED |
---|
20 | |
---|
21 | RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[]) |
---|
22 | RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED |
---|
23 | |
---|
24 | RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0]) |
---|
25 | RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS], |
---|
26 | [Define to 1 if you want termios support for every port. |
---|
27 | Termios support is independent of the choice of UART I/O mode.]) |
---|
28 | |
---|
29 | RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SCC2_MINOR]) |
---|
30 | RTEMS_BSPOPTS_HELP([CONSOLE_MINOR], |
---|
31 | [(BSP--console driver) Must be defined to be one of SMC1_MINOR, |
---|
32 | SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR. |
---|
33 | Determines which device will be registered as /dev/console.]) |
---|
34 | |
---|
35 | RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0]) |
---|
36 | RTEMS_BSPOPTS_HELP([UARTS_IO_MODE], |
---|
37 | [(BSP--console driver) |
---|
38 | Define to 0 or 1 if you want polled I/O performed by RTEMS. |
---|
39 | Define to 1 if you want interrupt-driven performed by RTEMS. |
---|
40 | Define to 2 if you want polled I/O performed by EPPCBug. |
---|
41 | There is no provision to have a mix of interrupt-driven and polled I/O |
---|
42 | ports, except that the printk port may use a different mode from the |
---|
43 | other ports. If this is done, do not open the printk port from an RTEMS |
---|
44 | application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR |
---|
45 | must be set to SMC1_MINOR. This is a deficiency of the firmware: it |
---|
46 | does not perform serial I/O on any port other than its default debug |
---|
47 | port, which must be SMC1.]) |
---|
48 | |
---|
49 | RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SMC2_MINOR]) |
---|
50 | RTEMS_BSPOPTS_HELP([PRINTK_MINOR], |
---|
51 | [(BSP--console driver) |
---|
52 | Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR, |
---|
53 | SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output |
---|
54 | by printk(). If the port that printk() uses is also used for other |
---|
55 | I/O (e.g. if PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should |
---|
56 | use the same type of I/O, otherwise the drivers will likely conflict with |
---|
57 | each other.]) |
---|
58 | |
---|
59 | RTEMS_BSPOPTS_SET([DISPATCH_HANDLER_STAT],[*],[]) |
---|
60 | RTEMS_BSPOPTS_HELP([DISPATCH_HANDLER_STAT], |
---|
61 | [used by irq/irq.c]) |
---|
62 | |
---|
63 | RTEMS_CHECK_NETWORKING |
---|
64 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
65 | |
---|
66 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0) |
---|
67 | |
---|
68 | # Explicitly list a Makefile here |
---|
69 | AC_CONFIG_FILES([Makefile]) |
---|
70 | |
---|
71 | RTEMS_PPC_EXCEPTIONS |
---|
72 | |
---|
73 | AC_OUTPUT |
---|