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

4.104.11
Last change on this file since bc98089 was 6b2b37d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 15, 2009 at 2:45:47 PM

2009-09-15 Ralf Corsépius <ralf.corsepius@…>

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