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

5
Last change on this file since 3d43c47 was 3d43c47, checked in by Joel Sherrill <joel@…>, on May 16, 2018 at 2:58:13 PM

tqm8xx: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 4.2 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])
5RTEMS_TOP(../../../../../..)
6RTEMS_SOURCE_TOP
7RTEMS_BUILD_TOP
8RTEMS_BSP_LINKCMDS
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
12RTEMS_BSP_CONFIGURE
13
14
15
16RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED([*],[1])
17RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED
18
19RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED([*],[1])
20RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED
21
22RTEMS_BSPOPTS_SET([CONSOLE_CHN],[*],[CONS_CHN_SMC1])
23RTEMS_BSPOPTS_HELP([CONSOLE_CHN],
24[(BSP--console driver) Must be defined to be one of CONS_CHN_SMC1,
25 CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4.
26 Determines which device will be registered as /dev/console.])
27
28RTEMS_BSPOPTS_SET([PRINTK_CHN],[*],[CONS_CHN_SMC1])
29RTEMS_BSPOPTS_HELP([PRINTK_CHN],
30[(BSP--console driver)
31 Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2,
32 CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output
33 by printk(). If the port that printk() uses is also used for other
34 I/O (e.g. if  PRINTK_CHN == CONSOLE_CHN), then both ports should
35 use the same type of I/O, otherwise the drivers will likely conflict with
36 each other.])
37
38RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
39RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[pghplus],[CONS_MODE_IRQ])
40RTEMS_BSPOPTS_SET([CONS_SMC1_MODE],[*],[CONS_MODE_UNUSED])
41RTEMS_BSPOPTS_HELP([CONS_SMC1_MODE],
42[(BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART)
43 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
44 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
45
46RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[tqm8xx_stk8xx],[CONS_MODE_POLLED])
47RTEMS_BSPOPTS_SET([CONS_SMC2_MODE],[*],[CONS_MODE_UNUSED])
48RTEMS_BSPOPTS_HELP([CONS_SMC2_MODE],
49[(BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART)
50 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
51 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
52
53RTEMS_BSPOPTS_SET([CONS_SCC1_MODE],[*],[CONS_MODE_UNUSED])
54RTEMS_BSPOPTS_HELP([CONS_SCC1_MODE],
55[(BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART)
56 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
57 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
58
59RTEMS_BSPOPTS_SET([CONS_SCC2_MODE],[*],[CONS_MODE_UNUSED])
60RTEMS_BSPOPTS_HELP([CONS_SCC2_MODE],
61[(BSP--SCC2 UART IF mode) Must be defined if SCC2 is used as a tty (UART)
62 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
63 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
64
65RTEMS_BSPOPTS_SET([CONS_SCC3_MODE],[*],[CONS_MODE_UNUSED])
66RTEMS_BSPOPTS_HELP([CONS_SCC3_MODE],
67[(BSP--SCC3 UART IF mode) Must be defined if SCC3 is used as a tty (UART)
68 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
69 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
70
71RTEMS_BSPOPTS_SET([CONS_SCC4_MODE],[*],[CONS_MODE_UNUSED])
72RTEMS_BSPOPTS_HELP([CONS_SCC4_MODE],
73[(BSP--SCC4 UART IF mode) Must be defined if SCC4 is used as a tty (UART)
74 channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for
75 interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used])
76
77# add selection of primary network interface
78RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[pghplus],[1])
79RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_FEC],[*],[0])
80RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_FEC],
81[If defined, then the BSP will use the Fast Ethernet Controller
82 for 10/100MBit networking and used as primary networking interface.])
83
84RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[pghplus],[0])
85RTEMS_BSPOPTS_SET([BSP_USE_NETWORK_SCC],[*],[1])
86RTEMS_BSPOPTS_HELP([BSP_USE_NETWORK_SCC],
87[If defined, then the BSP will use the Serial Communications Controller (SCC1)
88 for 10MBit networking.])
89
90AC_DEFINE(mpc860, 1, [PowerPC model option])
91
92# Explicitly list a Makefile here
93AC_CONFIG_FILES([Makefile])
94
95RTEMS_BSP_CLEANUP_OPTIONS
96
97RTEMS_PPC_EXCEPTIONS
98
99AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.