On 18:50 Wed 06 Oct , Sam Ravnborg wrote: > On Wed, Oct 06, 2010 at 12:51:41AM -0700, matt mooney wrote: > > 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@xxxxxxxxxxxxx> > > Looks good. I agree with Michal's comment about > moving the complexity from MAkefile to Kconfig. > But I think that should be a follow-up patch. > > You can add my: > Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx> > > Two trivial comments... > You can keep my ack independent of addressing these comments or not. > > Sam > > > diff --git a/drivers/usb/host/whci/Kbuild b/drivers/usb/host/whci/Kbuild > > index 11e5040..26df013 100644 > > --- a/drivers/usb/host/whci/Kbuild > > +++ b/drivers/usb/host/whci/Kbuild > > @@ -3,7 +3,7 @@ obj-$(CONFIG_USB_WHCI_HCD) += whci-hcd.o > > whci-hcd-y := \ > > asl.o \ > > debug.o \ > > - hcd.o \ > > + hcd.o \ > > hw.o \ > > init.o \ > > int.o \ > > I would be good to loose the "\" > > > diff --git a/drivers/usb/wusbcore/Makefile b/drivers/usb/wusbcore/Makefile > > index f0d8045..b3bd313 100644 > > --- a/drivers/usb/wusbcore/Makefile > > +++ b/drivers/usb/wusbcore/Makefile > > @@ -1,9 +1,11 @@ > > +ccflags-$(CONFIG_USB_WUSB_CBAF_DEBUG) := -DDEBUG > > + > > obj-$(CONFIG_USB_WUSB) += wusbcore.o > > obj-$(CONFIG_USB_HWA_HCD) += wusb-wa.o > > obj-$(CONFIG_USB_WUSB_CBAF) += wusb-cbaf.o > > > > > > -wusbcore-objs := \ > > +wusbcore-y := \ > > crypto.o \ > > devconnect.o \ > > dev-sysfs.o \ > > @@ -14,11 +16,10 @@ wusbcore-objs := \ > > security.o \ > > wusbhc.o > > > > -wusb-cbaf-objs := cbaf.o > > +wusb-cbaf-y := cbaf.o > > > > -wusb-wa-objs := wa-hc.o \ > > - wa-nep.o \ > > - wa-rpipe.o \ > > - wa-xfer.o > > - > > -ccflags-$(CONFIG_USB_WUSB_CBAF_DEBUG) := -DDEBUG > > +wusb-wa-y := \ > > + wa-hc.o \ > > + wa-nep.o \ > > + wa-rpipe.o \ > > + wa-xfer.o > This file could also benefit from loosing the excessive use of "\". I know, I am not a fan of this either. My reasoning for leaving it is that the original author wanted each file to be on a separate line, so I felt I had two choices: 1) combine some of the files onto a single line and add another statement with +=, or 2) keep all on a their own line and use += for all. In the end, I figured it was at least better than some of those other multi file statements using "\" that either lined up oddly or had to resort to spaces. (Not to mention, I worried that this change would be unwelcomed; however, I really wanted to make it.) So I will add your ack and send the patch off to see how the changes are received. Thanks, mfm -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html