On 01/07/2011 05:58 PM, Mr Dash Four wrote:
> I just implemented exactly what I described here locally, and it worked
> perfectly. The config-local file needs to be a Source: file so that it
> actually gets included in the source rpm, and I'm not sure why you're
> doing anything touching debuginfo bits...
>
> My test case was to simply add CONFIG_VIDEO_VIA_CAMERA=y to my
> config-local, as I know its disabled in the stock config, because it
> doesn't build (due to a dependency on updated viafb bits in 2.6.37). I
> created a source rpm with that modified config-local, then did an
> rpmbuild, and it failed on drivers/media/video/via-camera.c exactly like
> I'd expected it to. So I suspect you've either done something wrong with
> your implementation or you execution. :)
Yet another kernel build error:
drivers/media/video/em28xx/em28xx-vbi.c:49: error: implicit
declaration of function 'in_interrupt'
make[4]: *** [drivers/media/video/em28xx/em28xx-vbi.o] Error 1
make[3]: *** [drivers/media/video/em28xx] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.Di6kj9 (%build)
The driver you have enabled has the following dependencies:
VIAFB camera controller support (VIDEO_VIA_CAMERA)
CONFIG_VIDEO_VIA_CAMERA:
Driver support for the integrated camera controller in VIA
Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
with ov7670 sensors.
Symbol: VIDEO_VIA_CAMERA [=n]
Type : tristate
Prompt: VIAFB camera controller support
Defined at drivers/media/video/Kconfig:715
Depends on: MEDIA_SUPPORT [=m] && VIDEO_CAPTURE_DRIVERS [=n] &&
VIDEO_V4L2 [=m] && FB_VIA [=n]
Location:
-> Device Drivers
-> Multimedia support (MEDIA_SUPPORT [=m])
-> Video capture adapters (VIDEO_CAPTURE_DRIVERS [=n])
Selects: VIDEOBUF_DMA_SG [=n] && VIDEO_OV7670 [=n]