diff options
author | reinelt <> | 2006-08-08 19:35:22 +0000 |
---|---|---|
committer | reinelt <> | 2006-08-08 19:35:22 +0000 |
commit | 17bb5631e99903c9e5eeba1bb6c0826dc4c0c8fd (patch) | |
tree | 305ad5e9c770cbeb44bf0367d64b1ce1d89bf661 /drivers.m4 | |
parent | dfd945989238e0d1451018936c6bd3eef722b408 (diff) | |
download | lcd4linux-17bb5631e99903c9e5eeba1bb6c0826dc4c0c8fd.tar.gz |
[lcd4linux @ 2006-08-08 19:35:21 by reinelt]
USBHUB driver from Ernst Bachmann
Diffstat (limited to 'drivers.m4')
-rw-r--r-- | drivers.m4 | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -33,7 +33,7 @@ AC_ARG_WITH( [ LUIse, M50530, MatrixOrbital, MilfordInstruments,] [ Noritake, NULL, PNG, PPM, RouterBoard, Sample,] [ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] - [ WincorNixdorf, X11], + [ USBHUB, WincorNixdorf, X11], drivers=$withval, drivers=all ) @@ -80,6 +80,7 @@ for driver in $drivers; do SIMPLELCD="yes" T6963="yes" Trefon="yes" + USBHUB="yes" USBLCD="yes" WINCORNIXDORF="yes" X11="yes" @@ -162,6 +163,9 @@ for driver in $drivers; do Trefon) Trefon=$val ;; + USBHUB) + USBHUB=$val + ;; USBLCD) USBLCD=$val ;; @@ -427,6 +431,17 @@ if test "$Trefon" = "yes"; then fi fi +if test "$USBHUB" = "yes"; then + if test "$has_usb" = "true"; then + GPIO="yes" + DRIVERS="$DRIVERS drv_USBHUB.o" + LIBUSB="yes" + AC_DEFINE(WITH_USBHUB,1,[USBHUB driver]) + else + AC_MSG_WARN(usb.h not found: USB-Hub driver disabled) + fi +fi + if test "$USBLCD" = "yes"; then TEXT="yes" SERIAL="yes" |