Setting config when using 'make menuconfig'

Anders Darander anders.darander at gmail.com
Fri Jan 10 15:33:45 EST 2014


On 10 Jan 2014 21:10, "m silverstri" <michael.j.silverstri at gmail.com> wrote:
>
> Thanks. Under which menu/sub-menu are there Configuration I should go
> and enable them?

I'm not in front of my computer, so I can't really check it... However,
look at what the different options depend on.

> I don't see where to go under the menu after I search them:
>
> Symbol: VIDEO_V4L2 [=n]
>   │ Type  : tristate
>   │   Defined at drivers/media/v4l2-core/Kconfig:6
>   │   Depends on: MEDIA_SUPPORT [=y] && (I2C [=y] || I2C [=y]=n) &&
> VIDEO_DEV [=n]
>

This one, VIDEO_V4L2, should be enabled add soon as you can get VIDEO_DEV
enabled.
>
>  Symbol: VIDEO_DEV [=n]
>   │ Type  : tristate
>   │   Defined at drivers/media/Kconfig:95
>   │   Depends on: MEDIA_SUPPORT [=y] && (MEDIA_CAMERA_SUPPORT [=n] ||
> MEDIA_ANALOG_TV_SUPPORT [ │

Here you'll need either of MEDIAZCAMERA_SUPPORT or MEDIA_ANALOG_TV_SUPPORT,
unless there are more options in the OR-part of the expression.

Cheers,
Anders

>
>
> On Fri, Jan 10, 2014 at 11:58 AM, Anders Darander
> <anders.darander at gmail.com> wrote:
> >
> > On 10 Jan 2014 20:52, "m silverstri" <michael.j.silverstri at gmail.com>
wrote:
> >> When I run 'make menuconfig' and when I search for
> >> 'CONFIG_VIDEO_MY_DRIVER', I See it.
> >>
> >>  Symbol: VIDEO_MY_DRIVER [=n]
> >>   │ Type  : boolean
> >>   │ Prompt: my driver
> >> │
> >>   │   Location:
> >>   │     -> Device Drivers
> >>   │ (1)   -> Multimedia support (MEDIA_SUPPORT [=y])
> >>   │   Defined at drivers/media/platform/mydriver/Kconfig:5
> >>   │   Depends on: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && VIDEO_V4L2
> >> [=n]
> >
> > You need to enable VIDEO_DEV and VIDEO_V4L2  as your driver depends on
them.
> >
> > Cheers,
> > Anders
> >
> >>   │   Selects: V4L2_MEM2MEM_DEV [=n]
> >>   │
> >>
> >> But when I want to set it, I go to 'Device Drivers'-> 'Multimedia
> >> Support', I don't find the option to set it.
> >>
> >> Can you please tell me if I make a mistake in my 'Kconfig' or where
> >> should I look for when I try to set it under 'Device Drivers'?
> >>
> >> _______________________________________________
> >> Kernelnewbies mailing list
> >> Kernelnewbies at kernelnewbies.org
> >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140110/17a01339/attachment.html 


More information about the Kernelnewbies mailing list