[b759b04] | 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 | |
---|
[754610f] | 5 | AC_PREREQ(2.60) |
---|
[b759b04] | 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 |
---|
[754610f] | 11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10]) |
---|
[b759b04] | 12 | RTEMS_BSP_CONFIGURE |
---|
| 13 | |
---|
[d236e964] | 14 | RTEMS_PROG_CC_FOR_TARGET |
---|
[b759b04] | 15 | RTEMS_CANONICALIZE_TOOLS |
---|
| 16 | RTEMS_PROG_CCAS |
---|
| 17 | |
---|
| 18 | RTEMS_CHECK_NETWORKING |
---|
| 19 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 20 | |
---|
[bb6ef078] | 21 | RTEMS_BSPOPTS_SET([csb637],[kit637_v6],[1]) |
---|
[b767616d] | 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 | |
---|
[bb6ef078] | 28 | RTEMS_BSPOPTS_SET([ENABLE_LCD],[kit637_v6],[0]) |
---|
[737f8c4] | 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 | |
---|
[bb6ef078] | 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 | |
---|
[737f8c4] | 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.]) |
---|
[bb6ef078] | 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") |
---|
[737f8c4] | 66 | |
---|
[d1be26b] | 67 | RTEMS_BSP_CLEANUP_OPTIONS(1, 1) |
---|
[1be5983] | 68 | RTEMS_BSP_LINKCMDS |
---|
[3ab13d5] | 69 | |
---|
[b759b04] | 70 | # Explicitly list all Makefiles here |
---|
| 71 | AC_CONFIG_FILES([Makefile]) |
---|
| 72 | AC_OUTPUT |
---|