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

Kai Germaschewski (kai-germaschewski@uiowa.edu)
Wed, 25 Sep 2002 17:04:25 -0500 (CDT)


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

?

--Kai

-
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/