summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-10-06 19:03:26 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:22:07 -0700
commit0a2b8a0d1101179fdebc974a7c72b514aede9d9d (patch)
tree148dce87f8a233184ba3f8b75853d3584510af49 /drivers/usb/otg/Makefile
parent75d87cdf3cefd2744fabd3f2a558c49cdf36238b (diff)
downloadblackbird-op-linux-0a2b8a0d1101179fdebc974a7c72b514aede9d9d.tar.gz
blackbird-op-linux-0a2b8a0d1101179fdebc974a7c72b514aede9d9d.zip
usb: makefile cleanup
For all modules, change <module>-objs to <module>-y; remove if-statements and replace with lists using the kbuild idiom; move flags to the top of the file; and fix alignment while trying to maintain the original scheme in each file. None of the dependencies are modified. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/otg/Makefile')
-rw-r--r--drivers/usb/otg/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/otg/Makefile b/drivers/usb/otg/Makefile
index b6609db3a849..66f1b83e4fa7 100644
--- a/drivers/usb/otg/Makefile
+++ b/drivers/usb/otg/Makefile
@@ -2,6 +2,9 @@
# OTG infrastructure and transceiver drivers
#
+ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
+ccflags-$(CONFIG_USB_GADGET_DEBUG) += -DDEBUG
+
# infrastructure
obj-$(CONFIG_USB_OTG_UTILS) += otg.o
@@ -12,7 +15,3 @@ obj-$(CONFIG_TWL4030_USB) += twl4030-usb.o
obj-$(CONFIG_USB_LANGWELL_OTG) += langwell_otg.o
obj-$(CONFIG_NOP_USB_XCEIV) += nop-usb-xceiv.o
obj-$(CONFIG_USB_ULPI) += ulpi.o
-
-ccflags-$(CONFIG_USB_DEBUG) += -DDEBUG
-ccflags-$(CONFIG_USB_GADGET_DEBUG) += -DDEBUG
-
OpenPOWER on IntegriCloud