summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme162/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme162/Makefile.in')
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.in b/c/src/lib/libbsp/m68k/mvme162/Makefile.in
index c72d071f77..68ce414233 100644
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.in
+++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.in
@@ -12,8 +12,18 @@ include $(PROJECT_ROOT)/make/directory.cfg
SRCS=README
+# If the MVME162 is an LX model, then there are 2 z8530's to yield
+# four serial ports. The application can choose this driver by
+# using "CONSOLEX_DRIVER_TABLE_ENTRY" in the driver table definition,
+# in place of "CONSOLE_DRIVER_TABLE_ENTRY". See consolex/cTest.c for
+# an example.
+
+ifeq $(RTEMS_MVME162_MODEL,mvme162lx)
+CONSOLEX=consolex
+endif
+
# wrapup is the one that actually builds and installs the library
# from the individual .rel files built in other directories
#
# XXXX add tools
-SUB_DIRS=include startup clock console timer wrapup
+SUB_DIRS=include startup clock console $(CONSOLEX) timer wrapup