diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-12-17 19:08:40 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-12-21 10:24:01 +0000 |
commit | c4bf91813c787b503eaeaa1d372f271d4638a16d (patch) | |
tree | 13ccdbc3e89bc09c18d615b5e4cb2b9030f8d934 /strata | |
parent | d471751fa5c8b01aefcc09a648e52588041ce175 (diff) | |
download | definitions-c4bf91813c787b503eaeaa1d372f271d4638a16d.tar.gz |
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
Diffstat (limited to 'strata')
-rw-r--r-- | strata/bsp-x86_32-generic/linux-x86-32-generic.morph | 6 | ||||
-rw-r--r-- | strata/bsp-x86_64-generic/linux-x86-64-generic.morph | 6 |
2 files changed, 12 insertions, 0 deletions
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) |