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