[linux-dvb] [PATCH] Some changes to the Kbuild help
xyzzy at speakeasy.org
Thu Mar 30 23:20:46 CEST 2006
On Thu, 30 Mar 2006, Michael Krufky wrote:
> > +config VIDEO_CX88_DVB_VP3054
> > + bool "VP-3054 Secondary I2C Bus Support"
> > + default y
> > + depends on VIDEO_CX88_DVB_MT352 && !VIDEO_CX88_DVB_ALL_FRONTENDS
> > + select VIDEO_CX88_VP3054
You can just use:
depends on VIDEO_CX88_DVB_MT352
VIDEO_CX88_DVB_MT352 already pulls in the !VIDEO_CX88_DVB_ALL_FRONTENDS
for you, as well VIDEO_CX88_DVB and so on.
This patch solves the problem just fine. As I understand it, what you are
doing is creating VIDEO_CX88_DVB_VP3054 as a proxy for VIDEO_CX88_VP3054, and
making it so VIDEO_CX88_VP3054 isn't set directly by the user, but rather via
VIDEO_CX88_DVB_VP3054. This way VIDEO_CX88_VP3054 doesn't depend _directly_
on VIDEO_CX88_DVB_MT352, but depends on it via the VIDEO_CX88_DVB_VP3054
proxy, which kconfig can now display correctly. I don't understand why this
indirection is necessary, but it works, and that's enough for me.
More information about the linux-dvb