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 | |
---|
5 | AC_PREREQ(2.60) |
---|
6 | AC_INIT([rtems-c-src-lib-libbsp-arm-csb337],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
---|
7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
8 | RTEMS_TOP(../../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | RTEMS_PROG_CC_FOR_TARGET |
---|
15 | RTEMS_CANONICALIZE_TOOLS |
---|
16 | RTEMS_PROG_CCAS |
---|
17 | |
---|
18 | RTEMS_CHECK_NETWORKING |
---|
19 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
20 | |
---|
21 | RTEMS_BSPOPTS_SET([csb637],[kit637_v6],[1]) |
---|
22 | RTEMS_BSPOPTS_SET([csb637],[csb637],[1]) |
---|
23 | RTEMS_BSPOPTS_SET([csb637],[*],[0]) |
---|
24 | RTEMS_BSPOPTS_HELP([csb637], |
---|
25 | [If defined, this indicates that the BSP is being built for the |
---|
26 | csb637 variant.]) |
---|
27 | |
---|
28 | RTEMS_BSPOPTS_SET([ENABLE_LCD],[kit637_v6],[0]) |
---|
29 | RTEMS_BSPOPTS_SET([ENABLE_LCD],[*],[0]) |
---|
30 | RTEMS_BSPOPTS_HELP([ENABLE_LCD], |
---|
31 | [If defined, enable use of the SED1356 controller and LCD.]) |
---|
32 | AM_CONDITIONAL(ENABLE_LCD,test "$ENABLE_LCD" = "1") |
---|
33 | |
---|
34 | RTEMS_BSPOPTS_SET([ENABLE_UMON],[*],[1]) |
---|
35 | RTEMS_BSPOPTS_HELP([ENABLE_UMON], |
---|
36 | [If defined, enable use of the uMon console.]) |
---|
37 | AM_CONDITIONAL(ENABLE_UMON,test "$ENABLE_UMON" = "1") |
---|
38 | |
---|
39 | RTEMS_BSPOPTS_SET([ENABLE_UMON_CONSOLE],[*],[1]) |
---|
40 | RTEMS_BSPOPTS_HELP([ENABLE_UMON_CONSOLE], |
---|
41 | [If defined, enable use of the MicroMonitor console device.]) |
---|
42 | AM_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 | |
---|
47 | RTEMS_BSPOPTS_SET([ENABLE_USART0],[*],[1]) |
---|
48 | RTEMS_BSPOPTS_HELP([ENABLE_USART0], |
---|
49 | [If defined, enable use of the USART 0.]) |
---|
50 | AM_CONDITIONAL(ENABLE_USART0,test "$ENABLE_USART0" = "1") |
---|
51 | |
---|
52 | RTEMS_BSPOPTS_SET([ENABLE_USART1],[*],[1]) |
---|
53 | RTEMS_BSPOPTS_HELP([ENABLE_USART1], |
---|
54 | [If defined, enable use of the USART 1.]) |
---|
55 | AM_CONDITIONAL(ENABLE_USART1,test "$ENABLE_USART1" = "1") |
---|
56 | |
---|
57 | RTEMS_BSPOPTS_SET([ENABLE_USART2],[*],[1]) |
---|
58 | RTEMS_BSPOPTS_HELP([ENABLE_USART2], |
---|
59 | [If defined, enable use of the USART 2.]) |
---|
60 | AM_CONDITIONAL(ENABLE_USART2,test "$ENABLE_USART2" = "1") |
---|
61 | |
---|
62 | RTEMS_BSPOPTS_SET([ENABLE_USART3],[*],[1]) |
---|
63 | RTEMS_BSPOPTS_HELP([ENABLE_USART3], |
---|
64 | [If defined, enable use of the USART 3.]) |
---|
65 | AM_CONDITIONAL(ENABLE_USART3,test "$ENABLE_USART3" = "1") |
---|
66 | |
---|
67 | RTEMS_BSP_CLEANUP_OPTIONS(1, 1) |
---|
68 | RTEMS_BSP_LINKCMDS |
---|
69 | |
---|
70 | # Explicitly list all Makefiles here |
---|
71 | AC_CONFIG_FILES([Makefile]) |
---|
72 | AC_OUTPUT |
---|