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

4.104.114.84.95
Last change on this file since aedbd45 was 85ca769, checked in by Joel Sherrill <joel.sherrill@…>, on 12/07/01 at 12:44:01

2001-12-04 Ralf Corsepius <corsepiu@…>

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