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

Last change on this file since f3b29236 was 3cd3a260, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 12, 2014 at 3:32:58 PM

bsp/mpc8xx: Fix warnings

close #2211

  • Property mode set to 100644
File size: 4.3 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-lib-libbsp-powerpc-tqm8xx],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([bsp_specs])
6RTEMS_TOP(../../../../../..)
7
8RTEMS_CANONICAL_TARGET_CPU
9AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
10RTEMS_BSP_CONFIGURE
11
12RTEMS_PROG_CC_FOR_TARGET
13RTEMS_CANONICALIZE_TOOLS
14RTEMS_PROG_CCAS
15
16RTEMS_CHECK_NETWORKING
17AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
18
19RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
20RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
21
22RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
23RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
24
25RTEMS_BSPOPTS_SET([CONSOLE_CHN],[*],[CONS_CHN_SMC1])
26RTEMS_BSPOPTS_HELP([CONSOLE_CHN],
27[(BSP--console driver) Must be defined to be one of CONS_CHN_SMC1,
28 CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4.
29 Determines which device will be registered as /dev/console.])
30
31RTEMS_BSPOPTS_SET([PRINTK_CHN],[*],[CONS_CHN_SMC1])
32RTEMS_BSPOPTS_HELP([PRINTK_CHN],
33[(BSP--console driver)
34 Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2,
35 CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output
36 by printk(). If the port that printk() uses is also used for other
37 I/O (e.g. if  PRINTK_CHN == CONSOLE_CHN), then both ports should
38 use the same type of I/O, otherwise the drivers will likely conflict with
39 each other.])
40
41RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
42RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[pghplus],[CONS_MODE_IRQ])
43RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[*],[CONS_MODE_UNUSED])
44RTEMS_BSPOPTS_HELP([CONS_SMC1_MODE],
45[(BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART)
46 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
47 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
48
49RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
50RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[*],[CONS_MODE_UNUSED])
51RTEMS_BSPOPTS_HELP([CONS_SMC2_MODE],
52[(BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART)
53 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
54 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
55
56RTEMS_BSPOPTS_SET([CONS_SCC1_MODE],[*],[CONS_MODE_UNUSED])
57RTEMS_BSPOPTS_HELP([CONS_SCC1_MODE],
58[(BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART)
59 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
60 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
61
62RTEMS_BSPOPTS_SET([CONS_SCC2_MODE],[*],[CONS_MODE_UNUSED])
63RTEMS_BSPOPTS_HELP([CONS_SCC2_MODE],
64[(BSP--SCC2 UART IF mode) Must be defined if SCC2 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_SCC3_MODE],[*],[CONS_MODE_UNUSED])
69RTEMS_BSPOPTS_HELP([CONS_SCC3_MODE],
70[(BSP--SCC3 UART IF mode) Must be defined if SCC3 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_SCC4_MODE],[*],[CONS_MODE_UNUSED])
75RTEMS_BSPOPTS_HELP([CONS_SCC4_MODE],
76[(BSP--SCC4 UART IF mode) Must be defined if SCC4 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
80# add selection of primary network interface
81RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[pghplus],[1])
82RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[*],[0])
83RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_FEC],
84[If defined, then the BSP will use the Fast Ethernet Controller
85 for 10/100MBit networking and used as primary networking interface.])
86
87RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[pghplus],[0])
88RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[*],[1])
89RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_SCC],
90[If defined, then the BSP will use the Serial Communications Controller (SCC1)
91 for 10MBit networking.])
92
93
94# Explicitly list a Makefile here
95AC_CONFIG_FILES([Makefile])
96
97RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
98RTEMS_BSP_LINKCMDS
99
100RTEMS_PPC_EXCEPTIONS
101
102AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.