Re: [patch, 2.6.26-rc2] dvb: drivers/media/dvb/ttpci/fdump firmware build error fix
From: Oliver Endriss
Date: Tue May 13 2008 - 20:15:07 EST
Johannes Stezenbach wrote:
> On Tue, May 13, 2008 at 06:42:38PM +0200, Ingo Molnar wrote:
> >
> > * Johannes Stezenbach <js@xxxxxxxxxxx> wrote:
> >
> > > On Tue, May 13, 2008 at 04:33:54PM +0200, Oliver Endriss wrote:
> > > > Johannes Stezenbach wrote:
> > > > > You can put PREVENT_FIRMWARE_BUILD=y in your allrandom.config.
> > > >
> > > > Sure. And without the patch you can simply add
> > > > - STANDALONE=y or
> > > > - DVB_AV7110_FIRMWARE=n
> > > > to your allrandom.config. ;-)
> > >
> > > It is desirable to have one generic "don't break the build because of
> > > missing firmware binaries" option, isn't it?
> >
> > it's a bit confusing. PREVENT_FIRMWARE_BUILD=y is the 'weaker' option -
> > a driver might still be operational (with its default firmware), even if
> > no firmware is built. STANDALONE=y is the stronger option - if a driver
> > depends on that it means that the driver cannot be built (and used) at
> > all without a firmware file. To be on the safe side users who have no
> > firmware needs should set both options. (and that's the default as well)
>
> Seems like I'm confused now...
>
> CONFIG_STANDALONE
> Prompt: Select only drivers that don't need compile-time external firmware
>
> PREVENT_FIRMWARE_BUILD
> Prompt: Prevent firmware from being built
After reading the text again I still think that my understanding is
correct [1].
CONFIG_STANDALONE disables drivers which require a firmware file at
compile-time. av7110 with DVB_AV7110_FIRMWARE=y is this kind of driver.
PREVENT_FIRMWARE_BUILD controls building (= compiling) the firmware from
source. As we do not ship the source of the av7110 firmware, this option
does not apply.
So everything should be fine 'as is'.
CU
Oliver
Notes:
[1] Of course, I am open to corrections from the kbuild gurus. ;-)
--
----------------------------------------------------------------
VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------
--
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/