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/wusbcore | |
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/wusbcore')
-rw-r--r-- | drivers/usb/wusbcore/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/usb/wusbcore/Makefile b/drivers/usb/wusbcore/Makefile index f0d8045c802e..b3bd313032b1 100644 --- a/drivers/usb/wusbcore/Makefile +++ b/drivers/usb/wusbcore/Makefile | |||
@@ -1,9 +1,11 @@ | |||
1 | ccflags-$(CONFIG_USB_WUSB_CBAF_DEBUG) := -DDEBUG | ||
2 | |||
1 | obj-$(CONFIG_USB_WUSB) += wusbcore.o | 3 | obj-$(CONFIG_USB_WUSB) += wusbcore.o |
2 | obj-$(CONFIG_USB_HWA_HCD) += wusb-wa.o | 4 | obj-$(CONFIG_USB_HWA_HCD) += wusb-wa.o |
3 | obj-$(CONFIG_USB_WUSB_CBAF) += wusb-cbaf.o | 5 | obj-$(CONFIG_USB_WUSB_CBAF) += wusb-cbaf.o |
4 | 6 | ||
5 | 7 | ||
6 | wusbcore-objs := \ | 8 | wusbcore-y := \ |
7 | crypto.o \ | 9 | crypto.o \ |
8 | devconnect.o \ | 10 | devconnect.o \ |
9 | dev-sysfs.o \ | 11 | dev-sysfs.o \ |
@@ -14,11 +16,10 @@ wusbcore-objs := \ | |||
14 | security.o \ | 16 | security.o \ |
15 | wusbhc.o | 17 | wusbhc.o |
16 | 18 | ||
17 | wusb-cbaf-objs := cbaf.o | 19 | wusb-cbaf-y := cbaf.o |
18 | 20 | ||
19 | wusb-wa-objs := wa-hc.o \ | 21 | wusb-wa-y := \ |
20 | wa-nep.o \ | 22 | wa-hc.o \ |
21 | wa-rpipe.o \ | 23 | wa-nep.o \ |
22 | wa-xfer.o | 24 | wa-rpipe.o \ |
23 | 25 | wa-xfer.o | |
24 | ccflags-$(CONFIG_USB_WUSB_CBAF_DEBUG) := -DDEBUG | ||