aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-03-03 16:52:50 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-03-03 16:52:50 +0000
commitd17583d65d5751809f4daaa1d866db38a7044a06 (patch)
tree8ee6c0fd703c6c942e6ffa0b1e14e7f4a8d466bb /drivers.m4
parent0086015d0f85c4df2e2abd8cf586033593452db3 (diff)
downloadlcd4linux-d17583d65d5751809f4daaa1d866db38a7044a06.tar.gz
add new driver (st2205) by Jeroen/Sprite_tm
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@855 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m419
1 files changed, 17 insertions, 2 deletions
diff --git a/drivers.m4 b/drivers.m4
index e89978f..59d67ad 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -36,8 +36,8 @@ AC_ARG_WITH(
[ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,]
[ LUIse, M50530, MatrixOrbital, MilfordInstruments,]
[ Noritake, NULL, PNG, PPM, Pertelian, picoLCD, RouterBoard,]
- [ Sample, serdisplib, SimpleLCD, T6963, Trefon, USBLCD,]
- [ USBHUB, WincorNixdorf, X11],
+ [ Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,]
+ [ USBLCD, USBHUB, WincorNixdorf, X11],
drivers=$withval,
drivers=all
)
@@ -83,6 +83,7 @@ for driver in $drivers; do
PPM="yes"
ROUTERBOARD="yes"
SAMPLE="yes"
+ ST2205="yes"
SERDISPLIB="yes"
SIMPLELCD="yes"
T6963="yes"
@@ -176,6 +177,9 @@ for driver in $drivers; do
SimpleLCD)
SIMPLELCD=$val
;;
+ st2205)
+ ST2205=$val
+ ;;
T6963)
T6963=$val
;;
@@ -480,6 +484,17 @@ if test "$SIMPLELCD" = "yes"; then
AC_DEFINE(WITH_SIMPLELCD,1,[SimpleLCD driver])
fi
+if test "$ST2205" = "yes"; then
+ if test "$has_st2205" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_st2205.o"
+ DRVLIBS="$DRVLIBS -L/usr/local/lib -lst2205"
+ AC_DEFINE(WITH_ST2205,1,[st2205 driver])
+ else
+ AC_MSG_WARN(st2205.h not found: st2205 driver disabled)
+ fi
+fi
+
if test "$T6963" = "yes"; then
GRAPHIC="yes"
PARPORT="yes"