Re: Setting config when using 'make menuconfig'

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

 




On 10 Jan 2014 21:10, "m silverstri" <michael.j.silverstri@xxxxxxxxx> 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@xxxxxxxxx> wrote:
> >
> > On 10 Jan 2014 20:52, "m silverstri" <michael.j.silverstri@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux