From 5d54056acb22b72beaf6304bdb8e74bb64e8b0bc Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Fri, 4 Nov 2005 14:10:38 +0000 Subject: [lcd4linux @ 2005-11-04 14:10:38 by reinelt] drv_Sample and drv_LPH7508 --- drivers.m4 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'drivers.m4') 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" -- cgit v1.2.3