Re: [v4l-dvb-maintainer] DVB build fails without I2C

From: Manu Abraham
Date: Sat Sep 09 2006 - 11:11:00 EST


Jeff Garzik wrote:
> In an effort to speed up my all-filesystems build, I disabled several
> things in my allyesconfig-generated .config. As luck would have it, I
> wound up disabling I2C but did not disable DVB.
>
> This led to a link failure at the end of the build, with the linker
> complaining that many I2C-related symbols were not present.
>
> Recommended solution: Add I2C as a dependency (or select) in DVB Kconfig.


DVB-CORE does not depend on I2C, since it does not rely on any I2C at
all. (DVB-CORE can use other methods) It is the PCI bridges that depend
on I2C. IIRC, we had a patch adding I2C dependencies for the Kconfig for
the relevant bridge chips. The frontends which are connected to the
bridges, depend on DVB-Core and I2C. So that dependency exists.

frontends foo
depends on DVB_CORE && I2C

pci bridges foo
depends on DVB_CORE && I2C && PCI

Maybe that patch has not made it yet to mainline.


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