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/core/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/core/Makefile')
| -rw-r--r-- | drivers/usb/core/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/drivers/usb/core/Makefile b/drivers/usb/core/Makefile index 17c8e2d2a07d..507a4e1b6360 100644 --- a/drivers/usb/core/Makefile +++ b/drivers/usb/core/Makefile | |||
| @@ -2,18 +2,13 @@ | |||
| 2 | # Makefile for USB Core files and filesystem | 2 | # Makefile for USB Core files and filesystem |
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \ | 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
| 6 | config.o file.o buffer.o sysfs.o endpoint.o \ | ||
| 7 | devio.o notify.o generic.o quirks.o devices.o | ||
| 8 | |||
| 9 | ifeq ($(CONFIG_PCI),y) | ||
| 10 | usbcore-objs += hcd-pci.o | ||
| 11 | endif | ||
| 12 | 6 | ||
| 13 | ifeq ($(CONFIG_USB_DEVICEFS),y) | 7 | usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o |
| 14 | usbcore-objs += inode.o | 8 | usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o |
| 15 | endif | 9 | usbcore-y += devio.o notify.o generic.o quirks.o devices.o |
| 16 | 10 | ||
| 17 | obj-$(CONFIG_USB) += usbcore.o | 11 | usbcore-$(CONFIG_PCI) += hcd-pci.o |
| 12 | usbcore-$(CONFIG_USB_DEVICEFS) += inode.o | ||
| 18 | 13 | ||
| 19 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG | 14 | obj-$(CONFIG_USB) += usbcore.o |
