Re: [PATCH] 2.5.21 lm_sensor support 1/5

From: Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Date: Sun Jun 09 2002 - 14:59:57 EST


On Sun, 9 Jun 2002, Albert Cranford wrote:

> Patch adds lm_sensor support for 2.5.21
> --- linux/drivers/Makefile.orig 2002-05-20 09:54:49.000000000 -0400
> +++ linux/drivers/Makefile 2002-05-30 00:36:36.000000000 -0400
> @@ -10,7 +10,7 @@
> message scsi md ieee1394 pnp isdn atm \
> fc4 i2c acpi bluetooth input/serio \
> input/gameport parport hotplug \
> - base char block misc net media cdrom
> + base char block misc net media cdrom i2c/busses i2c/chips
>
> obj-$(CONFIG_PCI) += pci/
> obj-$(CONFIG_ACPI) += acpi/
> @@ -42,6 +42,8 @@
> obj-$(CONFIG_SERIO) += input/serio/
> obj-$(CONFIG_I2O) += message/
> obj-$(CONFIG_I2C) += i2c/
> +obj-$(CONFIG_MAINBOARD) += i2c/busses/
> +obj-$(CONFIG_SENSORS) += i2c/chips/
> obj-$(CONFIG_PHONE) += telephony/
> obj-$(CONFIG_MD) += md/
> obj-$(CONFIG_BLUEZ) += bluetooth/

Is there any reason why you cannot link busses, chips from within
i2c/Makefile?

It will work like this, but it surely is cleaner to do it from inside i2c
- CONFIG_MAINBOARD and CONFIG_SENSORS can not be set without CONFIG_I2C
AFAICS.

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:15 EST