[d7aecdc] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
[9b5c258] | 5 | AC_PREREQ(2.57) |
---|
[7dcc3fe] | 6 | AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme167],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
[d7aecdc] | 7 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
| 8 | RTEMS_TOP(../../../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[ccd81b60] | 11 | AM_INIT_AUTOMAKE([no-define foreign 1.7.2]) |
---|
[9e1ae79] | 12 | RTEMS_BSP_CONFIGURE |
---|
[d7aecdc] | 13 | |
---|
| 14 | RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]) |
---|
| 15 | RTEMS_CANONICALIZE_TOOLS |
---|
| 16 | |
---|
| 17 | RTEMS_CHECK_NETWORKING |
---|
| 18 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
| 19 | |
---|
[90bc0568] | 20 | # HACK: Propagate #define mvme167 into bspopts.h |
---|
| 21 | # Used inside ../mvme162/include/mvme16x_hw.h |
---|
| 22 | AC_DEFINE_UNQUOTED([mvme167],[1], |
---|
| 23 | [If building the mvme167 BSP]) |
---|
| 24 | |
---|
| 25 | RTEMS_BSPOPTS_SET([CD2401_INT_LEVEL],[*],[1]) |
---|
| 26 | RTEMS_BSPOPTS_HELP([CD2401_INT_LEVEL], |
---|
| 27 | [Interrupt level for the CD2401(when CD2401_IO_MODE == 1).]) |
---|
| 28 | |
---|
| 29 | RTEMS_BSPOPTS_SET([CD2401_IO_MODE],[*],[0]) |
---|
| 30 | RTEMS_BSPOPTS_HELP([CD2401_IO_MODE], |
---|
| 31 | [0 for polled I/O, 1 for interrupt-driven.]) |
---|
| 32 | |
---|
| 33 | RTEMS_BSPOPTS_SET([CD2401_USE_TERMIOS],[*],[0]) |
---|
| 34 | RTEMS_BSPOPTS_HELP([CD2401_USE_TERMIOS], |
---|
| 35 | [1 for using termios based console.]) |
---|
[d7aecdc] | 36 | |
---|
[bd6ec28] | 37 | RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[1]) |
---|
| 38 | RTEMS_BSPOPTS_HELP([CONSOLE_MINOR], |
---|
| 39 | [Port to use for the RTEMS console. |
---|
| 40 | 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. |
---|
| 41 | 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. |
---|
| 42 | 2 - /dev/tty2, Serial Port 3 on the MVME712M. |
---|
| 43 | 3 - /dev/tty3, Serial Port 4 on the MVME712M.]) |
---|
| 44 | |
---|
| 45 | RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[1]) |
---|
| 46 | RTEMS_BSPOPTS_HELP([PRINTK_MINOR], |
---|
| 47 | [Port to use for printk debugging output. |
---|
| 48 | 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. |
---|
| 49 | 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. |
---|
| 50 | 2 - /dev/tty2, Serial Port 3 on the MVME712M. |
---|
| 51 | 3 - /dev/tty3, Serial Port 4 on the MVME712M.]) |
---|
| 52 | |
---|
[d7aecdc] | 53 | # Explicitly list all Makefiles here |
---|
| 54 | AC_CONFIG_FILES([Makefile |
---|
| 55 | clock/Makefile |
---|
| 56 | console/Makefile |
---|
| 57 | fatal/Makefile |
---|
| 58 | network/Makefile |
---|
| 59 | start/Makefile |
---|
| 60 | startup/Makefile |
---|
| 61 | timer/Makefile |
---|
| 62 | wrapup/Makefile]) |
---|
| 63 | AC_OUTPUT |
---|