summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-10-01 10:52:55 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-10-06 20:51:47 +0000
commit9507c15ada3a44f256d7188aa98a4c916924641e (patch)
treeb1a876c12d2ae36e0b13657ac0fc83ebca079882 /meta-agl-profile-core
parentc57c9eb31eb6064ad1bacfcad78af87199959c60 (diff)
agl-devel.inc: Add modetest
Add modetest if the agl-devel feature is enabled in images with graphical user interface (GUI), aka wayland. Modetest is part of libdrm and libdrm-tests. It is useful for verification of the DRM/KMS driver functionality. Bug-AGL: SPEC-2465 Change-Id: Iaee906a97b3ee38214b04f603322298fa7adb4c5 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> (cherry picked from commit d6f491229bc3d978503c100df704bdcfd250984b)
Diffstat (limited to 'meta-agl-profile-core')
-rw-r--r--meta-agl-profile-core/conf/include/agl-devel.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-profile-core/conf/include/agl-devel.inc b/meta-agl-profile-core/conf/include/agl-devel.inc
index 09d855c05..2157f6f1a 100644
--- a/meta-agl-profile-core/conf/include/agl-devel.inc
+++ b/meta-agl-profile-core/conf/include/agl-devel.inc
@@ -5,6 +5,8 @@ IMAGE_INSTALL_append = " \
"
IMAGE_INSTALL_append = "${@bb.utils.contains('IMAGE_FSTYPES', 'wic.vmdk', ' open-vm-tools vboxguestdrivers', '', d)}"
+# Install libdrm-test, including modetest, to images with GUI
+IMAGE_INSTALL_append = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libdrm-tests', '', d)}"
# disable install of debug files in SDK
# initial value: SDKIMAGE_FEATURES="dev-pkgs dbg-pkgs staticdev-pkgs"