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

4.104.114.84.95
Last change on this file since 9e1ae79 was 9e1ae79, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 3, 2001 at 1:07:18 AM

2001-11-30 Ralf Corsepius <corsepiu@…>

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