Make RTL8187 driver an add-on

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3390 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-18 14:41:22 +00:00
parent 2dc66d99e7
commit 78296cad79
6 changed files with 52 additions and 1779 deletions
+7 -1
View File
@@ -36,10 +36,16 @@
USBHOST_ASRCS =
USBHOST_CSRCS = hid_parser.c
# Built-in USB driver logic
ifeq ($(CONFIG_USBHOST),y)
USBHOST_CSRCS += usbhost_registry.c usbhost_registerclass.c usbhost_findclass.c
USBHOST_CSRCS += usbhost_enumerate.c usbhost_storage.c usbhost_hidkbd.c
# Add-on USB driver logic (see misc/drivers)
ifeq ($(CONFIG_NET),y)
USBHOST_CSRCS += usbhost_rtl8187.c
RTL8187_CSRC := ${shell if [ -f usbhost/rtl8187x.c ]; then echo "rtl8187x.c"; fi}
USBHOST_CSRCS += $(RTL8187_CSRC)
endif
endif
File diff suppressed because it is too large Load Diff