source: rtems/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac @ 8ee3775

4.115
Last change on this file since 8ee3775 was 8ee3775, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/02/11 at 15:01:43

2011-02-02 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Require autoconf-2.68, automake-1.11.1.
  • Property mode set to 100644
File size: 5.6 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-lib-libbsp-powerpc-tqm8xx],[_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.11.1])
12RTEMS_BSP_CONFIGURE
13
14RTEMS_PROG_CC_FOR_TARGET
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],[*],[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([CONSOLE_CHN],[*],[CONS_CHN_SMC1])
38RTEMS_BSPOPTS_HELP([CONSOLE_CHN],
39[(BSP--console driver) Must be defined to be one of CONS_CHN_SMC1,
40 CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4.
41 Determines which device will be registered as /dev/console.])
42
43RTEMS_BSPOPTS_SET([PRINTK_CHN],[*],[CONS_CHN_SMC1])
44RTEMS_BSPOPTS_HELP([PRINTK_CHN],
45[(BSP--console driver)
46 Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2,
47 CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output
48 by printk(). If the port that printk() uses is also used for other
49 I/O (e.g. if  PRINTK_CHN == CONSOLE_CHN), then both ports should
50 use the same type of I/O, otherwise the drivers will likely conflict with
51 each other.])
52
53RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
54RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[pghplus],[CONS_MODE_IRQ])
55RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[*],[CONS_MODE_UNUSED])
56RTEMS_BSPOPTS_HELP([CONS_SMC1_MODE],
57[(BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART)
58 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
59 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
60
61RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
62RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[*],[CONS_MODE_UNUSED])
63RTEMS_BSPOPTS_HELP([CONS_SMC2_MODE],
64[(BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART)
65 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
66 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
67
68RTEMS_BSPOPTS_SET([CONS_SCC1_MODE],[*],[CONS_MODE_UNUSED])
69RTEMS_BSPOPTS_HELP([CONS_SCC1_MODE],
70[(BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART)
71 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
72 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
73
74RTEMS_BSPOPTS_SET([CONS_SCC2_MODE],[*],[CONS_MODE_UNUSED])
75RTEMS_BSPOPTS_HELP([CONS_SCC2_MODE],
76[(BSP--SCC2 UART IF mode) Must be defined if SCC2 is used as a tty (UART)
77 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
78 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
79
80RTEMS_BSPOPTS_SET([CONS_SCC3_MODE],[*],[CONS_MODE_UNUSED])
81RTEMS_BSPOPTS_HELP([CONS_SCC3_MODE],
82[(BSP--SCC3 UART IF mode) Must be defined if SCC3 is used as a tty (UART)
83 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
84 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
85
86RTEMS_BSPOPTS_SET([CONS_SCC4_MODE],[*],[CONS_MODE_UNUSED])
87RTEMS_BSPOPTS_HELP([CONS_SCC4_MODE],
88[(BSP--SCC4 UART IF mode) Must be defined if SCC4 is used as a tty (UART)
89 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
90 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
91
92RTEMS_BSPOPTS_SET([SPI_BOARD_INIT_FNC],[pghplus],[bsp_pghplus_spi_init])
93RTEMS_BSPOPTS_SET([SPI_BOARD_INIT_FNC],[*],[bsp_dummy_spi_init])
94RTEMS_BSPOPTS_HELP([SPI_BOARD_INIT_FNC],
95[(BSP--SPI board init function) Specify the function that inits the board
96 port lines and further devices.])
97
98RTEMS_BSPOPTS_SET([SPI_SEND_STOP_FNC],[pghplus],[bsp_pghplus_spi_send_stop])
99RTEMS_BSPOPTS_SET([SPI_SEND_STOP_FNC],[*],[bsp_dummy_spi_send_stop])
100RTEMS_BSPOPTS_HELP([SPI_SEND_STOP_FNC],
101[(BSP--SPI send stop function) Specify the function that deaddresses SPI
102 devices. Set to bsp_dummy_spi_send_stop for dummy implementation])
103
104RTEMS_BSPOPTS_SET([SPI_SEND_ADDR_FNC],[pghplus],[bsp_pghplus_spi_sel_addr])
105RTEMS_BSPOPTS_SET([SPI_SEND_ADDR_FNC],[*],[bsp_dummy_spi_sel_addr])
106RTEMS_BSPOPTS_HELP([SPI_SEND_ADDR_FNC],
107[(BSP--SPI send address function) Specify the function that addresses SPI
108 devices. Set to bsp_dummy_spi_sel_addr for dummy implementation])
109
110# add selection of primary network interface
111RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[pghplus],[1])
112RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[*],[0])
113RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_FEC],
114[If defined, then the BSP will use the Fast Ethernet Controller
115 for 10/100MBit networking and used as primary networking interface.])
116
117RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[pghplus],[0])
118RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[*],[1])
119RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_SCC],
120[If defined, then the BSP will use the Serial Communications Controller (SCC1)
121 for 10MBit networking.])
122
123
124# Explicitly list a Makefile here
125AC_CONFIG_FILES([Makefile])
126
127RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
128RTEMS_BSP_LINKCMDS
129
130RTEMS_PPC_EXCEPTIONS
131
132AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.