On Fri, 2013-11-22 at 11:35 -0800, nitin.a.kam...@intel.com wrote: > From: Nitin A Kamble <nitin.a.kam...@intel.com> > > This replaces the previous limited media config fragments. > Other hardware media features depends on this feature.
Please include the intent of this particular feature here. This adds the infrastructure V4L2, tuner, camera, and radio, to be included by driver-specific features. But, yes, good abstraction. -- Darren > > Signed-off-by: Nitin A Kamble <nitin.a.kam...@intel.com> > --- > meta/cfg/kernel-cache/features/media/media.cfg | 54 > ++++++++++++++++++++++++++ > meta/cfg/kernel-cache/features/media/media.scc | 4 ++ > 2 files changed, 58 insertions(+) > create mode 100644 meta/cfg/kernel-cache/features/media/media.cfg > create mode 100644 meta/cfg/kernel-cache/features/media/media.scc > > diff --git a/meta/cfg/kernel-cache/features/media/media.cfg > b/meta/cfg/kernel-cache/features/media/media.cfg > new file mode 100644 > index 0000000..b7b5f5e > --- /dev/null > +++ b/meta/cfg/kernel-cache/features/media/media.cfg > @@ -0,0 +1,54 @@ > +# > +# Enable support for multimedia devices such as webcams and Video grabber > devices > +# > +CONFIG_MEDIA_SUPPORT=m > +CONFIG_MEDIA_CAMERA_SUPPORT=y > +CONFIG_MEDIA_ANALOG_TV_SUPPORT=y > +CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y > +CONFIG_MEDIA_RADIO_SUPPORT=y > +CONFIG_MEDIA_CONTROLLER=y > + > +# > +# Enable the V4L2 core and API > +# > +CONFIG_VIDEO_DEV=m > +CONFIG_VIDEO_V4L2=m > +CONFIG_VIDEO_V4L2_SUBDEV_API=y > + > +# > +# Used by drivers that need v4l2-mem2mem.ko > +# > +CONFIG_V4L2_MEM2MEM_DEV=m > + > +# > +# Used by drivers that need Videobuf modules > +# > +CONFIG_VIDEOBUF_GEN=m > +CONFIG_VIDEOBUF_DMA_SG=m > +CONFIG_VIDEOBUF_DMA_CONTIG=m > +CONFIG_VIDEOBUF_VMALLOC=m > +CONFIG_VIDEOBUF_DVB=m > + > +# > +# Used by drivers that need Videobuf2 modules > +# > +CONFIG_VIDEOBUF2_CORE=m > +CONFIG_VIDEOBUF2_MEMOPS=m > +CONFIG_VIDEOBUF2_DMA_SG=m > +CONFIG_VIDEOBUF2_DMA_CONTIG=m > +CONFIG_VIDEOBUF2_VMALLOC=m > + > +# > +# Digital Video Broadcast support > +# > +CONFIG_DVB_CORE=y > +CONFIG_DVB_NET=y > +CONFIG_DVB_MAX_ADAPTERS=8 > +CONFIG_DVB_DYNAMIC_MINORS=y > + > +# > +# Autoselect ancillary drivers (tuners, sensors, i2c, frontends) > +# > +CONFIG_MEDIA_SUBDRV_AUTOSELECT=y > + > +CONFIG_MEDIA_ATTACH=y > diff --git a/meta/cfg/kernel-cache/features/media/media.scc > b/meta/cfg/kernel-cache/features/media/media.scc > new file mode 100644 > index 0000000..838782d > --- /dev/null > +++ b/meta/cfg/kernel-cache/features/media/media.scc > @@ -0,0 +1,4 @@ > +define KFEATURE_DESCRIPTION "Enable support for multimedia devices such as > webcams and Video grabber devices" > +define KFEATURE_COMPATIBILITY all > + > +kconf non-hardware media.cfg -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ linux-yocto mailing list linux-yo...@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto