Setting config when using 'make menuconfig'

m silverstri michael.j.silverstri at gmail.com
Fri Jan 10 16:34:00 EST 2014


Thanks.
I need help in enable VIDEOBUF2_CORE

 Symbol: VIDEOBUF2_CORE [=n]
  │ Type  : tristate
                                                                  │
Defined at drivers/media/v4l2-core/Kconfig:61
  │   Depends on: MEDIA_SUPPORT [=y]
  │   Selects: DMA_SHARED_BUFFER [=n]
  │   Selected by: VIDEOBUF2_DMA_CONTIG [=n] && MEDIA_SUPPORT [=y] &&
HAS_DMA [=y] || VIDEOBUF2_VMALLOC [=n] && MEDIA_SUPPORT [=y] ||
VIDEOBUF2_DMA_SG [=n] && MEDIA_SUPPORT [=y] || SOC_CAMERA [=n] &&
MEDIA_SUPPORT [=y] && V4L_PLATFORM_DRIVERS [=n] && VIDEO_V4L2 [=y] &&
HAS_DMA [=y] && I2C [=y]

I don't it where I can set it (i.e. no Location in search result)

Thanks.

On Fri, Jan 10, 2014 at 12:33 PM, Anders Darander
<anders.darander at gmail.com> wrote:
>
> 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



More information about the Kernelnewbies mailing list