aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <>2005-04-24 04:33:46 +0000
committerreinelt <>2005-04-24 04:33:46 +0000
commitc8b000e75378fbaa060b9377fef0c392d2289386 (patch)
tree85e80b1d245b58e983d458a5cd1958aa12c902f2 /drivers.m4
parent6fd5d2e000921afa3ef5d6b0f721dc96975f9365 (diff)
downloadlcd4linux-c8b000e75378fbaa060b9377fef0c392d2289386.tar.gz
[lcd4linux @ 2005-04-24 04:33:46 by reinelt]
driver for TREFON USB LCD's added
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m417
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers.m4 b/drivers.m4
index 708cb4f..5b44db6 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -31,7 +31,7 @@ AC_ARG_WITH(
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
[ HD44780, LCDLinux, LCDTerm, M50530, MatrixOrbital,]
[ MilfordInstruments, NULL, PNG, PPM, RouterBoard,]
- [ SimpleLCD, T6963, USBLCD, X11],
+ [ SimpleLCD, T6963, Trefon, USBLCD, X11],
drivers=$withval,
drivers=all
)
@@ -68,6 +68,7 @@ for driver in $drivers; do
PPM="yes"
ROUTERBOARD="yes"
T6963="yes"
+ Trefon="yes"
USBLCD="yes"
X11="yes"
SIMPLELCD="yes"
@@ -123,6 +124,9 @@ for driver in $drivers; do
T6963)
T6963=$val
;;
+ Trefon)
+ Trefon=$val
+ ;;
USBLCD)
USBLCD=$val
;;
@@ -277,6 +281,17 @@ if test "$T6963" = "yes"; then
AC_DEFINE(WITH_T6963,1,[T6963 driver])
fi
+if test "$Trefon" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ DRIVERS="$DRIVERS drv_Trefon.o"
+ AC_DEFINE(WITH_TREFON,1,[TREFON driver])
+ DRVLIBS="$DRVLIBS -lusb"
+ else
+ AC_MSG_WARN(usb.h not found: Trefon driver disabled)
+ fi
+fi
+
if test "$USBLCD" = "yes"; then
TEXT="yes"
SERIAL="yes"