diff options
author | matt mooney <mfm@muteddisk.com> | 2010-10-06 22:03:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:22:07 -0400 |
commit | 0a2b8a0d1101179fdebc974a7c72b514aede9d9d (patch) | |
tree | 148dce87f8a233184ba3f8b75853d3584510af49 /drivers/usb/gadget/Makefile | |
parent | 75d87cdf3cefd2744fabd3f2a558c49cdf36238b (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/Makefile | 39 |
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 | # |
4 | ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG | 4 | ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG |
5 | 5 | ||
6 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o | 6 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o |
7 | obj-$(CONFIG_USB_NET2280) += net2280.o | 7 | obj-$(CONFIG_USB_NET2280) += net2280.o |
@@ -16,10 +16,8 @@ obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o | |||
16 | obj-$(CONFIG_USB_AT91) += at91_udc.o | 16 | obj-$(CONFIG_USB_AT91) += at91_udc.o |
17 | obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o | 17 | obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o |
18 | obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o | 18 | obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o |
19 | fsl_usb2_udc-objs := fsl_udc_core.o | 19 | fsl_usb2_udc-y := fsl_udc_core.o |
20 | ifeq ($(CONFIG_ARCH_MXC),y) | 20 | fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o |
21 | fsl_usb2_udc-objs += fsl_mxc_udc.o | ||
22 | endif | ||
23 | obj-$(CONFIG_USB_M66592) += m66592-udc.o | 21 | obj-$(CONFIG_USB_M66592) += m66592-udc.o |
24 | obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o | 22 | obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o |
25 | obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o | 23 | obj-$(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 | # |
33 | g_zero-objs := zero.o | 31 | g_zero-y := zero.o |
34 | g_audio-objs := audio.o | 32 | g_audio-y := audio.o |
35 | g_ether-objs := ether.o | 33 | g_ether-y := ether.o |
36 | g_serial-objs := serial.o | 34 | g_serial-y := serial.o |
37 | g_midi-objs := gmidi.o | 35 | g_midi-y := gmidi.o |
38 | gadgetfs-objs := inode.o | 36 | gadgetfs-y := inode.o |
39 | g_file_storage-objs := file_storage.o | 37 | g_file_storage-y := file_storage.o |
40 | g_mass_storage-objs := mass_storage.o | 38 | g_mass_storage-y := mass_storage.o |
41 | g_printer-objs := printer.o | 39 | g_printer-y := printer.o |
42 | g_cdc-objs := cdc2.o | 40 | g_cdc-y := cdc2.o |
43 | g_multi-objs := multi.o | 41 | g_multi-y := multi.o |
44 | g_hid-objs := hid.o | 42 | g_hid-y := hid.o |
45 | g_dbgp-objs := dbgp.o | 43 | g_dbgp-y := dbgp.o |
46 | g_nokia-objs := nokia.o | 44 | g_nokia-y := nokia.o |
47 | g_webcam-objs := webcam.o | 45 | g_webcam-y := webcam.o |
48 | 46 | ||
49 | obj-$(CONFIG_USB_ZERO) += g_zero.o | 47 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
50 | obj-$(CONFIG_USB_AUDIO) += g_audio.o | 48 | obj-$(CONFIG_USB_AUDIO) += g_audio.o |
@@ -62,4 +60,3 @@ obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o | |||
62 | obj-$(CONFIG_USB_G_MULTI) += g_multi.o | 60 | obj-$(CONFIG_USB_G_MULTI) += g_multi.o |
63 | obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o | 61 | obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o |
64 | obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o | 62 | obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o |
65 | |||