Root/target/linux/cns3xxx/files/drivers/usb/dwc/Makefile

1#
2# Makefile for DWC_otg Highspeed USB controller driver
3#
4
5EXTRA_CFLAGS += -DDWC_HS_ELECT_TST
6#EXTRA_CFLAGS += -Dlinux -DDWC_HS_ELECT_TST
7#EXTRA_CFLAGS += -DDWC_EN_ISOC
8
9ifneq ($(CONFIG_DWC_HOST_ONLY),)
10EXTRA_CFLAGS += -DDWC_HOST_ONLY
11endif
12
13ifneq ($(CONFIG_DWC_DEVICE_ONLY),)
14EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
15endif
16
17ifneq ($(CONFIG_DWC_DEBUG),)
18EXTRA_CFLAGS += -DDEBUG
19endif
20
21obj-$(CONFIG_USB_DWC_OTG) := dwc_otg.o
22
23dwc_otg-objs := otg_driver.o otg_attr.o
24dwc_otg-objs += otg_cil.o otg_cil_intr.o
25dwc_otg-objs += otg_pcd.o otg_pcd_intr.o
26dwc_otg-objs += otg_hcd.o otg_hcd_intr.o otg_hcd_queue.o
27

Archive Download this file



interactive