diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-06-21 01:49:28 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-06-21 01:49:28 +0000 |
commit | 52f974cad14f0b99cfb59b996f0f26779ded255b (patch) | |
tree | e941d50c882788ec3513f06de67e92a65afc06ea /drivers.m4 | |
parent | c4cdfc501c99cddaee73f15fffb9d17ddd3b68ae (diff) | |
download | lcd4linux-52f974cad14f0b99cfb59b996f0f26779ded255b.tar.gz |
ASTUSB driver from Henrik Schondorff
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1122 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r-- | drivers.m4 | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -32,7 +32,7 @@ AC_ARG_WITH( [ drivers may be excluded with 'all,!<driver>',] [ (try 'all,\!<driver>' 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" |