diff options
Diffstat (limited to 'drivers/usb/musb/Makefile')
-rw-r--r-- | drivers/usb/musb/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile index 85710ccc1887..9705f716386e 100644 --- a/drivers/usb/musb/Makefile +++ b/drivers/usb/musb/Makefile | |||
@@ -6,7 +6,7 @@ musb_hdrc-objs := musb_core.o | |||
6 | 6 | ||
7 | obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o | 7 | obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o |
8 | 8 | ||
9 | ifeq ($(CONFIG_ARCH_DAVINCI),y) | 9 | ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y) |
10 | musb_hdrc-objs += davinci.o | 10 | musb_hdrc-objs += davinci.o |
11 | endif | 11 | endif |
12 | 12 | ||
@@ -22,6 +22,10 @@ ifeq ($(CONFIG_ARCH_OMAP3430),y) | |||
22 | musb_hdrc-objs += omap2430.o | 22 | musb_hdrc-objs += omap2430.o |
23 | endif | 23 | endif |
24 | 24 | ||
25 | ifeq ($(CONFIG_ARCH_OMAP4),y) | ||
26 | musb_hdrc-objs += omap2430.o | ||
27 | endif | ||
28 | |||
25 | ifeq ($(CONFIG_BF54x),y) | 29 | ifeq ($(CONFIG_BF54x),y) |
26 | musb_hdrc-objs += blackfin.o | 30 | musb_hdrc-objs += blackfin.o |
27 | endif | 31 | endif |
@@ -38,6 +42,10 @@ ifeq ($(CONFIG_USB_MUSB_HDRC_HCD),y) | |||
38 | musb_hdrc-objs += musb_virthub.o musb_host.o | 42 | musb_hdrc-objs += musb_virthub.o musb_host.o |
39 | endif | 43 | endif |
40 | 44 | ||
45 | ifeq ($(CONFIG_DEBUG_FS),y) | ||
46 | musb_hdrc-objs += musb_debugfs.o | ||
47 | endif | ||
48 | |||
41 | # the kconfig must guarantee that only one of the | 49 | # the kconfig must guarantee that only one of the |
42 | # possible I/O schemes will be enabled at a time ... | 50 | # possible I/O schemes will be enabled at a time ... |
43 | # PIO only, or DMA (several potential schemes). | 51 | # PIO only, or DMA (several potential schemes). |
@@ -64,12 +72,6 @@ endif | |||
64 | 72 | ||
65 | ################################################################################ | 73 | ################################################################################ |
66 | 74 | ||
67 | # FIXME remove all these extra "-DMUSB_* things, stick to CONFIG_* | ||
68 | |||
69 | ifeq ($(CONFIG_USB_INVENTRA_MUSB_HAS_AHB_ID),y) | ||
70 | EXTRA_CFLAGS += -DMUSB_AHB_ID | ||
71 | endif | ||
72 | |||
73 | # Debugging | 75 | # Debugging |
74 | 76 | ||
75 | ifeq ($(CONFIG_USB_MUSB_DEBUG),y) | 77 | ifeq ($(CONFIG_USB_MUSB_DEBUG),y) |