summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/conf
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2019-10-01 10:52:55 +0300
committerLeon Anavi <leon.anavi@konsulko.com>2019-10-01 11:03:28 +0300
commitd6f491229bc3d978503c100df704bdcfd250984b (patch)
treeebb1d9f90300c8108f8e3b69d00ec98285ed1fc9 /meta-agl-profile-core/conf
parentbc7ae97d859ca15921e67efda5c464c9c74c34ee (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>
Diffstat (limited to 'meta-agl-profile-core/conf')
-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"