source: rtems/c/src/lib/libbsp/arm/csb337/configure.ac @ bb6ef078

4.104.11
Last change on this file since bb6ef078 was bb6ef078, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 21, 2009 at 4:06:21 PM

2009-11-21 Fernando Nicodemos <fgnicodemos@…>

  • Makefile.am, configure.ac, console/uarts.c: Add initial support for Kit637 version of CSB637.
  • README.kit637_v6, make/custom/kit637_v6.cfg: New files.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## configure.ac,v 1.5 2003/03/11 09:39:07 ralf Exp
4
5AC_PREREQ(2.60)
6AC_INIT([rtems-c-src-lib-libbsp-arm-csb337],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([bsp_specs])
8RTEMS_TOP(../../../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
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([csb637],[kit637_v6],[1])
22RTEMS_BSPOPTS_SET([csb637],[csb637],[1])
23RTEMS_BSPOPTS_SET([csb637],[*],[0])
24RTEMS_BSPOPTS_HELP([csb637],
25[If defined, this indicates that the BSP is being built for the
26 csb637 variant.])
27
28RTEMS_BSPOPTS_SET([ENABLE_LCD],[kit637_v6],[0])
29RTEMS_BSPOPTS_SET([ENABLE_LCD],[*],[0])
30RTEMS_BSPOPTS_HELP([ENABLE_LCD],
31[If defined, enable use of the SED1356 controller and LCD.])
32AM_CONDITIONAL(ENABLE_LCD,test "$ENABLE_LCD" = "1")
33
34RTEMS_BSPOPTS_SET([ENABLE_UMON],[*],[1])
35RTEMS_BSPOPTS_HELP([ENABLE_UMON],
36[If defined, enable use of the uMon console.])
37AM_CONDITIONAL(ENABLE_UMON,test "$ENABLE_UMON" = "1")
38
39RTEMS_BSPOPTS_SET([ENABLE_UMON_CONSOLE],[*],[1])
40RTEMS_BSPOPTS_HELP([ENABLE_UMON_CONSOLE],
41[If defined, enable use of the MicroMonitor console device.])
42AM_CONDITIONAL(ENABLE_UMON_CONSOLE,test "$ENABLE_UMON_CONSOLE" = "1")
43
44## If ENABLE_UMON is 0 and ENABLE_UMON_CONSOLE is 1, then it is an error.
45## TODO: Catch this error.
46
47RTEMS_BSPOPTS_SET([ENABLE_USART0],[*],[1])
48RTEMS_BSPOPTS_HELP([ENABLE_USART0],
49[If defined, enable use of the USART 0.])
50AM_CONDITIONAL(ENABLE_USART0,test "$ENABLE_USART0" = "1")
51
52RTEMS_BSPOPTS_SET([ENABLE_USART1],[*],[1])
53RTEMS_BSPOPTS_HELP([ENABLE_USART1],
54[If defined, enable use of the USART 1.])
55AM_CONDITIONAL(ENABLE_USART1,test "$ENABLE_USART1" = "1")
56
57RTEMS_BSPOPTS_SET([ENABLE_USART2],[*],[1])
58RTEMS_BSPOPTS_HELP([ENABLE_USART2],
59[If defined, enable use of the USART 2.])
60AM_CONDITIONAL(ENABLE_USART2,test "$ENABLE_USART2" = "1")
61
62RTEMS_BSPOPTS_SET([ENABLE_USART3],[*],[1])
63RTEMS_BSPOPTS_HELP([ENABLE_USART3],
64[If defined, enable use of the USART 3.])
65AM_CONDITIONAL(ENABLE_USART3,test "$ENABLE_USART3" = "1")
66
67RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
68RTEMS_BSP_LINKCMDS
69
70# Explicitly list all Makefiles here
71AC_CONFIG_FILES([Makefile])
72AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.