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/misc | |
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/misc')
-rw-r--r-- | drivers/usb/misc/Makefile | 44 | ||||
-rw-r--r-- | drivers/usb/misc/sisusbvga/Makefile | 3 |
2 files changed, 23 insertions, 24 deletions
diff --git a/drivers/usb/misc/Makefile b/drivers/usb/misc/Makefile index d2633c035626..796ce7ebccc8 100644 --- a/drivers/usb/misc/Makefile +++ b/drivers/usb/misc/Makefile | |||
@@ -3,27 +3,27 @@ | |||
3 | # (the ones that don't fit into any other categories) | 3 | # (the ones that don't fit into any other categories) |
4 | # | 4 | # |
5 | 5 | ||
6 | obj-$(CONFIG_USB_ADUTUX) += adutux.o | 6 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
7 | obj-$(CONFIG_USB_APPLEDISPLAY) += appledisplay.o | ||
8 | obj-$(CONFIG_USB_CYPRESS_CY7C63)+= cypress_cy7c63.o | ||
9 | obj-$(CONFIG_USB_CYTHERM) += cytherm.o | ||
10 | obj-$(CONFIG_USB_EMI26) += emi26.o | ||
11 | obj-$(CONFIG_USB_EMI62) += emi62.o | ||
12 | obj-$(CONFIG_USB_FTDI_ELAN) += ftdi-elan.o | ||
13 | obj-$(CONFIG_USB_IDMOUSE) += idmouse.o | ||
14 | obj-$(CONFIG_USB_IOWARRIOR) += iowarrior.o | ||
15 | obj-$(CONFIG_USB_ISIGHTFW) += isight_firmware.o | ||
16 | obj-$(CONFIG_USB_LCD) += usblcd.o | ||
17 | obj-$(CONFIG_USB_LD) += ldusb.o | ||
18 | obj-$(CONFIG_USB_LED) += usbled.o | ||
19 | obj-$(CONFIG_USB_LEGOTOWER) += legousbtower.o | ||
20 | obj-$(CONFIG_USB_RIO500) += rio500.o | ||
21 | obj-$(CONFIG_USB_TEST) += usbtest.o | ||
22 | obj-$(CONFIG_USB_TRANCEVIBRATOR) += trancevibrator.o | ||
23 | obj-$(CONFIG_USB_USS720) += uss720.o | ||
24 | obj-$(CONFIG_USB_SEVSEG) += usbsevseg.o | ||
25 | obj-$(CONFIG_USB_YUREX) += yurex.o | ||
26 | 7 | ||
27 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/ | 8 | obj-$(CONFIG_USB_ADUTUX) += adutux.o |
9 | obj-$(CONFIG_USB_APPLEDISPLAY) += appledisplay.o | ||
10 | obj-$(CONFIG_USB_CYPRESS_CY7C63) += cypress_cy7c63.o | ||
11 | obj-$(CONFIG_USB_CYTHERM) += cytherm.o | ||
12 | obj-$(CONFIG_USB_EMI26) += emi26.o | ||
13 | obj-$(CONFIG_USB_EMI62) += emi62.o | ||
14 | obj-$(CONFIG_USB_FTDI_ELAN) += ftdi-elan.o | ||
15 | obj-$(CONFIG_USB_IDMOUSE) += idmouse.o | ||
16 | obj-$(CONFIG_USB_IOWARRIOR) += iowarrior.o | ||
17 | obj-$(CONFIG_USB_ISIGHTFW) += isight_firmware.o | ||
18 | obj-$(CONFIG_USB_LCD) += usblcd.o | ||
19 | obj-$(CONFIG_USB_LD) += ldusb.o | ||
20 | obj-$(CONFIG_USB_LED) += usbled.o | ||
21 | obj-$(CONFIG_USB_LEGOTOWER) += legousbtower.o | ||
22 | obj-$(CONFIG_USB_RIO500) += rio500.o | ||
23 | obj-$(CONFIG_USB_TEST) += usbtest.o | ||
24 | obj-$(CONFIG_USB_TRANCEVIBRATOR) += trancevibrator.o | ||
25 | obj-$(CONFIG_USB_USS720) += uss720.o | ||
26 | obj-$(CONFIG_USB_SEVSEG) += usbsevseg.o | ||
27 | obj-$(CONFIG_USB_YUREX) += yurex.o | ||
28 | 28 | ||
29 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG | 29 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/ |
diff --git a/drivers/usb/misc/sisusbvga/Makefile b/drivers/usb/misc/sisusbvga/Makefile index 7f934cfc906c..3142476ccc8e 100644 --- a/drivers/usb/misc/sisusbvga/Makefile +++ b/drivers/usb/misc/sisusbvga/Makefile | |||
@@ -4,5 +4,4 @@ | |||
4 | 4 | ||
5 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga.o | 5 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga.o |
6 | 6 | ||
7 | sisusbvga-objs := sisusb.o sisusb_init.o sisusb_con.o | 7 | sisusbvga-y := sisusb.o sisusb_init.o sisusb_con.o |
8 | |||