Thread (5 messages) 5 messages, 2 authors, 2014-01-10

Setting config when using 'make menuconfig'

From: m silverstri <hidden>
Date: 2014-01-10 21:34:00

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
[off-list ref] wrote:
On 10 Jan 2014 21:10, "m silverstri" [off-list ref] wrote:
quoted
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.
quoted
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.
quoted
 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
quoted

On Fri, Jan 10, 2014 at 11:58 AM, Anders Darander
[off-list ref] wrote:
quoted
On 10 Jan 2014 20:52, "m silverstri" [off-list ref]
wrote:
quoted
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
quoted
  ?   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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help