Re: [PATCH] Some changes to the Kbuild help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux