Skip to contentSkip to conversation

igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

PATCH New Arthur She 1 participant 1 message Jul 9, 2020

lore
Share & tools
lore

Arthur She

author
#0 lore raw

PATCH v2 1/1 igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

Chamelium is a hardware device that can be used for external display test automation [1].
It is disabled by default and can be turned on through PACKAGECONFIG.

[1] https://www.chromium.org/chromium-os/testing/chamelium

---
 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb +2 -0
index f60880c292..89480d79d2 100644
@@ -20,6 +20,8 @@ RDEPENDS_${PN}-tests += "bash"
 
 PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
 
+PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c"
+
 EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
 COMPATIBLE_HOST_libc-musl_class-target = "null"
Signature · 1 line
2.25.1