aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-10-06 22:03:26 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:22:07 -0400
commit0a2b8a0d1101179fdebc974a7c72b514aede9d9d (patch)
tree148dce87f8a233184ba3f8b75853d3584510af49 /drivers/usb/gadget/Makefile
parent75d87cdf3cefd2744fabd3f2a558c49cdf36238b (diff)
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/gadget/Makefile')
-rw-r--r--drivers/usb/gadget/Makefile39
1 files changed, 18 insertions, 21 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index c68200536500..5780db42417b 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -1,7 +1,7 @@
1# 1#
2# USB peripheral controller drivers 2# USB peripheral controller drivers
3# 3#
4ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG 4ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
5 5
6obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o 6obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
7obj-$(CONFIG_USB_NET2280) += net2280.o 7obj-$(CONFIG_USB_NET2280) += net2280.o
@@ -16,10 +16,8 @@ obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
16obj-$(CONFIG_USB_AT91) += at91_udc.o 16obj-$(CONFIG_USB_AT91) += at91_udc.o
17obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o 17obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
18obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o 18obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
19fsl_usb2_udc-objs := fsl_udc_core.o 19fsl_usb2_udc-y := fsl_udc_core.o
20ifeq ($(CONFIG_ARCH_MXC),y) 20fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o
21fsl_usb2_udc-objs += fsl_mxc_udc.o
22endif
23obj-$(CONFIG_USB_M66592) += m66592-udc.o 21obj-$(CONFIG_USB_M66592) += m66592-udc.o
24obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o 22obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o
25obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o 23obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o
@@ -30,21 +28,21 @@ obj-$(CONFIG_USB_LANGWELL) += langwell_udc.o
30# 28#
31# USB gadget drivers 29# USB gadget drivers
32# 30#
33g_zero-objs := zero.o 31g_zero-y := zero.o
34g_audio-objs := audio.o 32g_audio-y := audio.o
35g_ether-objs := ether.o 33g_ether-y := ether.o
36g_serial-objs := serial.o 34g_serial-y := serial.o
37g_midi-objs := gmidi.o 35g_midi-y := gmidi.o
38gadgetfs-objs := inode.o 36gadgetfs-y := inode.o
39g_file_storage-objs := file_storage.o 37g_file_storage-y := file_storage.o
40g_mass_storage-objs := mass_storage.o 38g_mass_storage-y := mass_storage.o
41g_printer-objs := printer.o 39g_printer-y := printer.o
42g_cdc-objs := cdc2.o 40g_cdc-y := cdc2.o
43g_multi-objs := multi.o 41g_multi-y := multi.o
44g_hid-objs := hid.o 42g_hid-y := hid.o
45g_dbgp-objs := dbgp.o 43g_dbgp-y := dbgp.o
46g_nokia-objs := nokia.o 44g_nokia-y := nokia.o
47g_webcam-objs := webcam.o 45g_webcam-y := webcam.o
48 46
49obj-$(CONFIG_USB_ZERO) += g_zero.o 47obj-$(CONFIG_USB_ZERO) += g_zero.o
50obj-$(CONFIG_USB_AUDIO) += g_audio.o 48obj-$(CONFIG_USB_AUDIO) += g_audio.o
@@ -62,4 +60,3 @@ obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o
62obj-$(CONFIG_USB_G_MULTI) += g_multi.o 60obj-$(CONFIG_USB_G_MULTI) += g_multi.o
63obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o 61obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o
64obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o 62obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o
65