aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authorreinelt <>2005-11-04 14:10:38 +0000
committerreinelt <>2005-11-04 14:10:38 +0000
commit5d54056acb22b72beaf6304bdb8e74bb64e8b0bc (patch)
tree9969d78f72c393e17fd73079f374c4df478d6d22 /drivers.m4
parent0ae3194b9a56dfc809029a02d4f1ffc614fead0c (diff)
downloadlcd4linux-5d54056acb22b72beaf6304bdb8e74bb64e8b0bc.tar.gz
[lcd4linux @ 2005-11-04 14:10:38 by reinelt]
drv_Sample and drv_LPH7508
Diffstat (limited to '')
-rw-r--r--drivers.m420
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers.m4 b/drivers.m4
index a5ec90e..4b7ed5b 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -31,8 +31,8 @@ AC_ARG_WITH(
[ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,]
[ HD44780, LCDLinux, LCDTerm, LPH7508, M50530,]
[ MatrixOrbital, MilfordInstruments, Noritake, NULL,]
- [ PNG, PPM, RouterBoard, serdisplib, SimpleLCD, T6963,]
- [ Trefon, USBLCD, WincorNixdorf, X11],
+ [ PNG, PPM, RouterBoard, Sample, serdisplib, SimpleLCD,]
+ [ T6963, Trefon, USBLCD, WincorNixdorf, X11],
drivers=$withval,
drivers=all
)
@@ -70,6 +70,7 @@ for driver in $drivers; do
PNG="yes"
PPM="yes"
ROUTERBOARD="yes"
+ SAMPLE="yes"
SERDISPLIB="yes"
SIMPLELCD="yes"
T6963="yes"
@@ -129,6 +130,9 @@ for driver in $drivers; do
RouterBoard)
ROUTERBOARD=$val
;;
+ Sample)
+ SAMPLE=$val
+ ;;
serdisplib)
SERDISPLIB=$val;
;;
@@ -307,6 +311,18 @@ if test "$ROUTERBOARD" = "yes"; then
AC_DEFINE(WITH_ROUTERBOARD,1,[RouterBoard driver])
fi
+if test "$SAMPLE" = "yes"; then
+ # select either text or graphics mode
+ TEXT="yes"
+ GRAPHIC="yes"
+ # select bus: serial (including USB), parallel or i2c
+ SERIAL="yes"
+ PARPORT="yes"
+ #I2C="yes"
+ DRIVERS="$DRIVERS drv_Sample.o"
+ AC_DEFINE(WITH_SAMPLE,1,[Sample driver])
+fi
+
if test "$SERDISPLIB" = "yes"; then
if test "$has_serdisplib" = "true"; then
GRAPHIC="yes"