From c4bf91813c787b503eaeaa1d372f271d4638a16d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 17 Dec 2015 19:08:40 +0000 Subject: linux-x86-[32|64]-generic: Build KMS DRM drivers for qemu This patch add KMS DRM kernel drivers for: - cirrus, wich is the default adapter in qemu < 2.2 - std, wicht is the default in qemu >= 2.2 With this, weston will use its native DRM backend under qemu, so it's not needed to use the fbdev-backend anymore This also make possible to run the GNOME wayland session in qemu, simply run from a terminal: gnome-session --session=gnome-wayland Change-Id: I1318bbaff462a62c0dfde06588aecf689436857d --- strata/bsp-x86_32-generic/linux-x86-32-generic.morph | 6 ++++++ strata/bsp-x86_64-generic/linux-x86-64-generic.morph | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph index 0c6bcfd6..3d141fd9 100644 --- a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph +++ b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph @@ -265,6 +265,8 @@ configure-commands: - scripts/config -e HYPERVISOR_GUEST - scripts/config -e PARAVIRT - scripts/config -e CONFIG_SND_INTEL8X0 +- scripts/config -m CONFIG_DRM_CIRRUS_QEMU +- scripts/config -m CONFIG_DRM_BOCHS - yes '' | make oldconfig build-commands: - make $MAKEFLAGS @@ -286,3 +288,7 @@ install-commands: find include/uapi -print0 find scripts -print0 ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" +system-integration: + linux-x86-32-generic-misc: + 00-depmod: + - (cd /lib/modules && for version in *; do depmod -a "$version"; done) diff --git a/strata/bsp-x86_64-generic/linux-x86-64-generic.morph b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph index 07600c7f..d7206b2f 100644 --- a/strata/bsp-x86_64-generic/linux-x86-64-generic.morph +++ b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph @@ -265,6 +265,8 @@ configure-commands: - scripts/config -e HYPERVISOR_GUEST - scripts/config -e PARAVIRT - scripts/config -e CONFIG_SND_INTEL8X0 +- scripts/config -m CONFIG_DRM_CIRRUS_QEMU +- scripts/config -m CONFIG_DRM_BOCHS - yes '' | make oldconfig build-commands: - make $MAKEFLAGS @@ -286,3 +288,7 @@ install-commands: find include/uapi -print0 find scripts -print0 ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" +system-integration: + linux-x86-64-generic-misc: + 00-depmod: + - (cd /lib/modules && for version in *; do depmod -a "$version"; done) -- cgit v1.2.1