2017-03-30 20:29:19 +00:00
|
|
|
SRC_C += $(addprefix usb/host/,pci-quirks.c uhci-hcd.c ehci-pci.c ohci-hcd.c ohci-pci.c)
|
2016-05-18 16:51:11 +00:00
|
|
|
SRC_C += usb/core/hcd-pci.c
|
2014-02-14 12:36:21 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# USB netwpork support
|
|
|
|
#
|
2017-10-16 19:47:40 +00:00
|
|
|
SRC_C += $(addprefix net/usb/, usbnet.c ax88179_178a.c cdc_ether.c)
|
2014-02-14 12:36:21 +00:00
|
|
|
|
2016-05-18 16:51:11 +00:00
|
|
|
# XHCI
|
2014-10-29 17:52:47 +00:00
|
|
|
SRC_C += usb/host/xhci-pci.c
|
2014-02-14 12:36:21 +00:00
|
|
|
|
2016-05-18 16:51:11 +00:00
|
|
|
# PCI
|
2014-02-14 12:36:21 +00:00
|
|
|
SRC_CC += pci_driver.cc platform.cc
|
|
|
|
|
2016-05-18 16:51:11 +00:00
|
|
|
# lx_kit
|
|
|
|
SRC_CC += pci.cc mapped_io_mem_range.cc
|
|
|
|
|
|
|
|
|
2014-02-14 12:36:21 +00:00
|
|
|
include $(REP_DIR)/lib/mk/xhci.inc
|
|
|
|
include $(REP_DIR)/lib/mk/usb.inc
|
|
|
|
|
|
|
|
CC_OPT += -DCONFIG_PCI -DCONFIG_USB_EHCI_PCI=1 -DCONFIG_USB_XHCI_HCD=1
|
|
|
|
|
2016-05-18 16:51:11 +00:00
|
|
|
vpath platform.cc $(LIB_DIR)/spec/x86
|
|
|
|
vpath pci_driver.cc $(LIB_DIR)/spec/x86
|
2014-02-14 12:36:21 +00:00
|
|
|
|
|
|
|
# vi:set ft=make :
|