source: rtems/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac @ bb2b825

4.115
Last change on this file since bb2b825 was bb2b825, checked in by Ralf Corsépius <ralf.corsepius@…>, on 07/19/12 at 13:47:55

Require automake-1.12.2.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx8xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([bsp_specs])
6RTEMS_TOP(../../../../../..)
7
8RTEMS_CANONICAL_TARGET_CPU
9AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
10RTEMS_BSP_CONFIGURE
11
12RTEMS_PROG_CC_FOR_TARGET
13RTEMS_CANONICALIZE_TOOLS
14RTEMS_PROG_CCAS
15
16RTEMS_CHECK_NETWORKING
17AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
18
19RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([mbx860_005b],[])
20RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
21RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
22
23RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
24RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
25
26RTEMS_BSPOPTS_SET([NVRAM_CONFIGURE],[mbx860_005b],[0])
27RTEMS_BSPOPTS_SET([NVRAM_CONFIGURE],[*],[1])
28RTEMS_BSPOPTS_HELP([NVRAM_CONFIGURE],
29[Define to 1 if you want the console driver, network driver and caches
30 configured at boot time from parameters stored in NVRAM. If set to 1,
31 most parameters below are ignored during the build. If not set to 1,
32 then the console driver is configured at build time, the network host
33 information is obtained from application supplied data structures, and
34 the caches are configured at boot time based on the information
35 supplied
36 in this file.])
37
38RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[mbx860_005b],[1])
39RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0])
40RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS],
41[Define to 1 if you want termios support for every port.
42 Termios support is independent of the choice of UART I/O mode.])
43
44RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[mbx860_005b],[SMC1_MINOR])
45RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SMC2_MINOR])
46RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
47[(BSP--console driver) Must be defined to be one of SMC1_MINOR,
48 SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR.
49 Determines which device will be registered as /dev/console.])
50
51RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0])
52RTEMS_BSPOPTS_HELP([UARTS_IO_MODE],
53[(BSP--console driver)
54 Define to 0 or 1 if you want polled I/O performed by RTEMS.
55 Define to 1 if you want interrupt-driven performed by RTEMS.
56 Define to 2 if you want polled I/O performed by EPPCBug.
57 There is no provision to have a mix of interrupt-driven and polled I/O
58 ports, except that the printk port may use a different mode from the
59 other ports. If this is done, do not open the printk port from an RTEMS
60 application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR
61 must be set to SMC1_MINOR. This is a deficiency of the firmware: it
62 does not perform serial I/O on any port other than its default debug
63 port, which must be SMC1.])
64
65RTEMS_BSPOPTS_SET([PRINTK_MINOR],[mbx860_005b],[SMC1_MINOR])
66RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SMC2_MINOR])
67RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
68[(BSP--console driver)
69 Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR,
70 SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output
71 by printk(). If the port that printk() uses is also used for other
72 I/O (e.g. if  PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should
73 use the same type of I/O, otherwise the drivers will likely conflict with
74 each other.])
75
76RTEMS_BSPOPTS_SET([PRINTK_IO_MODE],[*],[0])
77RTEMS_BSPOPTS_HELP([PRINTK_IO_MODE],
78[(BSP--console driver)
79 Define to 0 or 1 if you want polled I/O performed by RTEMS.
80 Define to 2 if you want polled I/O performed by EPPCBug.
81 The printk() port is not configured to use termios. With EPPCBug 1.1,
82 if mode 2 is selected, PRINTK_MINOR must be set to SMC1_MINOR.
83 This is a deficiency of the firmware: it does not perform serial I/O
84 on any port other than its default debug port, which must be SMC1.
85 Printk always uses polled output.])
86
87RTEMS_BSPOPTS_SET([EPPCBUG_SMC1],[mbx860_005b],[])
88RTEMS_BSPOPTS_SET([EPPCBUG_SMC1],[*],[1])
89RTEMS_BSPOPTS_HELP([EPPCBUG_SMC1],
90[(BSP--console driver)
91 If defined, SMC1 is in use by EPPC-Bug. The console driver will not
92 re-initialize that port.])
93
94RTEMS_BSPOPTS_SET([EPPCBUG_VECTORS],[mbx860_005b],[])
95RTEMS_BSPOPTS_SET([EPPCBUG_VECTORS],[*],[1])
96RTEMS_BSPOPTS_HELP([EPPCBUG_VECTORS],
97[(BSP--RTEMS)
98 If defined, vectors branch to EPPCBug, except the following:
99 0x500 (external interrupt), 0x900 (decrementer).])
100
101RTEMS_BSPOPTS_SET([DISPATCH_HANDLER_STAT],[*],[])
102RTEMS_BSPOPTS_HELP([DISPATCH_HANDLER_STAT],
103[used by irq/irq.c])
104
105RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
106
107# Explicitly list a Makefile here
108AC_CONFIG_FILES([Makefile])
109
110RTEMS_PPC_EXCEPTIONS
111
112AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.