summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme167/configure.ac
blob: 2a0801f6bd909b9ffae254e1a05bce83cef93723 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme167],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
AC_CONFIG_SRCDIR([make/custom/mvme167.cfg])
RTEMS_TOP(../../../../../..)
RTEMS_SOURCE_TOP
RTEMS_BUILD_TOP
RTEMS_BSP_LINKCMDS

RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define nostdinc foreign subdir-objects 1.12.2])
RTEMS_BSP_CONFIGURE



# HACK: Propagate #define mvme167 into bspopts.h
# Used inside ../mvme162/include/mvme16x_hw.h
AC_DEFINE_UNQUOTED([mvme167],[1],
[If building the mvme167 BSP])

RTEMS_BSPOPTS_SET([CD2401_INT_LEVEL],[*],[1])
RTEMS_BSPOPTS_HELP([CD2401_INT_LEVEL],
[Interrupt level for the CD2401(when CD2401_IO_MODE == 1).])

RTEMS_BSPOPTS_SET([CD2401_IO_MODE],[*],[0])
RTEMS_BSPOPTS_HELP([CD2401_IO_MODE],
[0 for polled I/O, 1 for interrupt-driven.])

RTEMS_BSPOPTS_SET([CD2401_USE_TERMIOS],[*],[0])
RTEMS_BSPOPTS_HELP([CD2401_USE_TERMIOS],
[1 for using termios based console.])

RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[1])
RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
[Port to use for the RTEMS console.
      0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
      1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
      2 - /dev/tty2, Serial Port 3 on the MVME712M.
      3 - /dev/tty3, Serial Port 4 on the MVME712M.])

RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[1])
RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
[Port to use for printk debugging output.
      0 - /dev/tty0, Serial Port 1/Console on the MVME712M.
      1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M.
      2 - /dev/tty2, Serial Port 3 on the MVME712M.
      3 - /dev/tty3, Serial Port 4 on the MVME712M.])

RTEMS_BSP_CLEANUP_OPTIONS

# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])
AC_OUTPUT