aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-28 02:09:16 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-28 02:09:16 +0000
commit6b6d1d868a0c3fc1bca2dee73adf4a14e1698c38 (patch)
tree269669a6d3dad982c79586960759bea1c3810813 /drivers.m4
parent6eec23d6f438845b1a646790a83be3053bc194bc (diff)
downloadlcd4linux-6b6d1d868a0c3fc1bca2dee73adf4a14e1698c38.tar.gz
driver for Futaba MDM166A Graphic(96x16) vf-displays by Andreas Brachold
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1158 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m424
1 files changed, 23 insertions, 1 deletions
diff --git a/drivers.m4 b/drivers.m4
index 734903b..0da55c0 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -35,7 +35,7 @@ AC_ARG_WITH(
[ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,]
[ EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
[ IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
- [ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments,]
+ [ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX, MilfordInstruments, MDM166A,]
[ Newhaven, Noritake, NULL, Pertelian, PHAnderson,]
[ PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,]
[ Sample, serdisplib, ShuttleVFD, SimpleLCD, st2205, T6963,]
@@ -85,6 +85,7 @@ for driver in $drivers; do
M50530="yes"
MATRIXORBITAL="yes"
MATRIXORBITALGX="yes"
+ MDM166A="yes"
MILINST="yes"
NEWHAVEN="yes"
NORITAKE="yes"
@@ -186,6 +187,9 @@ for driver in $drivers; do
MatrixOrbitalGX)
MATRIXORBITALGX=$val
;;
+ MDM166A)
+ MDM166A=$val
+ ;;
MilfordInstruments)
MILINST=$val
;;
@@ -284,6 +288,7 @@ KEYPAD="no"
# generic libraries
LIBUSB="no"
+LIBUSB10="no"
LIBFTDI="no"
if test "$ASTUSB" = "yes"; then
@@ -539,6 +544,18 @@ if test "$MATRIXORBITALGX" = "yes"; then
fi
fi
+if test "$MDM166A" = "yes"; then
+ if test "$has_usb10" = "true"; then
+ GRAPHIC="yes"
+ DRIVERS="$DRIVERS drv_mdm166a.o"
+ GPIO="yes"
+ LIBUSB10="yes"
+ AC_DEFINE(WITH_MDM166A,1,[MDM166A driver])
+ else
+ AC_MSG_WARN(libusb-1.0/libusb.h not found: MDM166A driver disabled)
+ fi
+fi
+
if test "$MILINST" = "yes"; then
TEXT="yes"
SERIAL="yes"
@@ -862,6 +879,11 @@ if test "$LIBUSB" = "yes"; then
DRVLIBS="$DRVLIBS -lusb"
fi
+# libusb-1.0
+if test "$LIBUSB10" = "yes"; then
+ DRVLIBS="$DRVLIBS -lusb-1.0"
+fi
+
# libftdi
if test "$LIBFTDI" = "yes"; then
DRVLIBS="$DRVLIBS -lftdi"