From 52f974cad14f0b99cfb59b996f0f26779ded255b Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 21 Jun 2010 01:49:28 +0000 Subject: ASTUSB driver from Henrik Schondorff git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1122 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index b5a850a..49d9e9b 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -32,7 +32,7 @@ AC_ARG_WITH( [ drivers may be excluded with 'all,!',] [ (try 'all,\!' if your shell complains...)] [ possible drivers are:] - [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,] + [ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,] [ EA232Graphic, G15, GLCD2USB, HD44780, HD44780-I2C, IRLCD,] [ LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,] [ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX,] @@ -60,6 +60,7 @@ for driver in $drivers; do case "$driver" in all) + ASTUSB="yes" BECKMANNEGLE="yes" BWCT="yes" CRYSTALFONTZ="yes" @@ -107,6 +108,9 @@ for driver in $drivers; do WINCORNIXDORF="yes" X11="yes" ;; + ASTUSB) + ASTUSB=$val + ;; BeckmannEgle) BECKMANNEGLE=$val ;; @@ -270,6 +274,18 @@ KEYPAD="no" LIBUSB="no" LIBFTDI="no" +if test "$ASTUSB" = "yes"; then + if test "$has_usb" = "true"; then + TEXT="yes" + SERIAL="yes" + DRIVERS="$DRIVERS drv_ASTUSB.o" + LIBUSB="yes" + AC_DEFINE(WITH_ASTUSB,1,[ASTUSB driver]) + else + AC_MSG_WARN(usb.h not found: ASTUSB driver disabled) + fi +fi + if test "$BECKMANNEGLE" = "yes"; then TEXT="yes" GPIO="yes" -- cgit v1.2.3