[OE-core] [PATCH 11/15] linux-yocto: Enable drm by default
Bruce Ashfield
bruce.ashfield at gmail.com
Mon May 22 14:46:19 UTC 2017
On Mon, May 22, 2017 at 1:00 AM, Khem Raj <raj.khem at gmail.com> wrote:
> Helps in running XFCE on virtualbox with HD
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> meta/recipes-kernel/linux/linux-yocto/drm.cfg | 10 ++++++++++
> meta/recipes-kernel/linux/linux-yocto_4.9.bb | 2 ++
> 2 files changed, 12 insertions(+)
> create mode 100644 meta/recipes-kernel/linux/linux-yocto/drm.cfg
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto/drm.cfg
> b/meta/recipes-kernel/linux/linux-yocto/drm.cfg
> new file mode 100644
> index 0000000000..5c694ccc57
> --- /dev/null
> +++ b/meta/recipes-kernel/linux/linux-yocto/drm.cfg
> @@ -0,0 +1,10 @@
> +CONFIG_DRM=y
> +CONFIG_DRM_TTM=y
> +CONFIG_DRM_VMWGFX=y
> +CONFIG_DRM_VMWGFX_FBCON=y
> +CONFIG_FB=y
> +CONFIG_FB_CFB_FILLRECT=y
> +CONFIG_FB_CFB_COPYAREA=y
> +CONFIG_FB_CFB_IMAGEBLIT=y
> +CONFIG_FB_DEFERRED_IO=y
> +CONFIG_FB_MODE_HELPERS=y
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.9.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.9.bb
> index 309d4a7a4f..011ba3bbe6 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_4.9.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_4.9.bb
> @@ -26,6 +26,8 @@ SRC_URI = "git://git.yoctoproject.org/
> linux-yocto-4.9.git;name=machine;branch=${
>
> LINUX_VERSION ?= "4.9.27"
>
> +SRC_URI += "file://drm.cfg"
>
If anything gets added to the default configurations, they need to go into
the kernel-cache
and then be included by the relevant kernel types there.
If you want, I can take care of switching things to that format.
Bruce
> +
> PV = "${LINUX_VERSION}+git${SRCPV}"
>
> KMETA = "kernel-meta"
> --
> 2.13.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170522/1eace262/attachment-0002.html>
More information about the Openembedded-core
mailing list