aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-24 04:33:46 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-04-24 04:33:46 +0000
commit62c2b871ae20d093190f7a64b1f13661c7a42222 (patch)
tree85e80b1d245b58e983d458a5cd1958aa12c902f2 /drivers.m4
parent024363f46c5257d74e90b4bd737772b70049f4da (diff)
downloadlcd4linux-62c2b871ae20d093190f7a64b1f13661c7a42222.tar.gz
[lcd4linux @ 2005-04-24 04:33:46 by reinelt]
driver for TREFON USB LCD's added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@531 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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"