From d17583d65d5751809f4daaa1d866db38a7044a06 Mon Sep 17 00:00:00 2001 From: michux Date: Mon, 3 Mar 2008 16:52:50 +0000 Subject: add new driver (st2205) by Jeroen/Sprite_tm git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@855 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'drivers.m4') 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" -- cgit v1.2.3