Re: [RFC] consolidate /sbin/hotplug call for pci and usb

Greg KH (greg@kroah.com)
Wed, 25 Sep 2002 15:48:33 -0700


On Wed, Sep 25, 2002 at 05:04:25PM -0500, Kai Germaschewski wrote:
> On Wed, 25 Sep 2002, Greg KH wrote:
>
> > diff -Nru a/drivers/base/Makefile b/drivers/base/Makefile
> > --- a/drivers/base/Makefile Wed Sep 25 14:22:28 2002
> > +++ b/drivers/base/Makefile Wed Sep 25 14:22:28 2002
> > @@ -5,6 +5,10 @@
> >
> > obj-y += fs/
> >
> > +ifeq ($(CONFIG_HOTPLUG),y)
> > + obj-y += hotplug.o
> > +endif
> > +
> > export-objs := core.o power.o sys.o bus.o driver.o \
> > class.o intf.o
> >
>
> Why not the simpler
>
> obj-$(CONFIG_HOTPLUG) += hotplug.o

Thanks, Pat also pointed this out to me.
I'll fix it.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/