aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <>2004-09-24 21:41:00 +0000
committerreinelt <>2004-09-24 21:41:00 +0000
commit5aef0c5097df02b2809eb86c0c81c9e04667ee8e (patch)
treeaf51ab5de2bcb32c3b1c9a4418357c4257e8adb4 /drivers.m4
parent75bb1267aab38c6e01a062b73a237fbbff798d66 (diff)
downloadlcd4linux-5aef0c5097df02b2809eb86c0c81c9e04667ee8e.tar.gz
[lcd4linux @ 2004-09-24 21:40:52 by reinelt]
new driver for the BWCT USB LCD interface board.
Diffstat (limited to '')
-rw-r--r--drivers.m423
1 files changed, 20 insertions, 3 deletions
diff --git a/drivers.m4 b/drivers.m4
index 561ad8b..664ff5c 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -9,9 +9,9 @@ AC_ARG_WITH(
[ drivers may be excluded with 'all,!<driver>',]
[ (try 'all,\!<driver>' if your shell complains...)]
[ possible drivers are:]
- [ BeckmannEgle, CrystalFontz, Curses, Cwlinux, HD44780,]
- [ M50530, MatrixOrbital, MilfordInstruments, NULL]
- [ PNG, PPM, RouterBoard, T6963, USBLCD, X11],
+ [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
+ [ HD44780, M50530, MatrixOrbital, MilfordInstruments,]
+ [ NULL, PNG, PPM, RouterBoard, T6963, USBLCD, X11],
drivers=$withval,
drivers=all
)
@@ -33,6 +33,7 @@ for driver in $drivers; do
case "$driver" in
all)
BECKMANNEGLE="yes"
+ BWCT="yes"
CRYSTALFONTZ="yes"
CURSES="yes"
CWLINUX="yes"
@@ -51,6 +52,9 @@ for driver in $drivers; do
BeckmannEgle)
BECKMANNEGLE=$val
;;
+ BWCT)
+ BWCT=$val
+ ;;
CrystalFontz)
CRYSTALFONTZ=$val
;;
@@ -108,10 +112,23 @@ GRAPHIC="no"
IMAGE="no"
if test "$BECKMANNEGLE" = "yes"; then
+ TEXT="yes"
+ SERIAL="yes"
DRIVERS="$DRIVERS drv_BeckmannEgle.o"
AC_DEFINE(WITH_BECKMANNEGLE,1,[Beckmann&Egle driver])
fi
+if test "$BWCT" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ DRIVERS="$DRIVERS drv_BWCT.o"
+ AC_DEFINE(WITH_BWCT,1,[BWCT driver])
+ DRVLIBS="$DRVLIBS -lusb"
+ else
+ AC_MSG_WARN(usb.h not found: BWCT driver disabled)
+ fi
+fi
+
if test "$CRYSTALFONTZ" = "yes"; then
TEXT="yes"
SERIAL="yes"