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