mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
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:
@@ -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
Reference in New Issue
Block a user