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

4.104.114.84.95
Last change on this file since a77cd066 was db0b369, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/03 at 13:11:22

2003-09-29 Ralf Corsepius <corsepiu@…>

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