From 39544083034168d0d75b4dc0d7053ce448c16e31 Mon Sep 17 00:00:00 2001 From: Reinette Chatre Date: Tue, 9 Feb 2016 15:57:54 -0800 Subject: intel-gpu-tools: modify packaging to support different usages The intel-gpu-tools recipe describes itself as "Variety of small tools for testing intel graphics.". Current packaging does not support "small" usages. Here we separate out the tests (about 25MB) and benchmarks (about 2MB) into two new packages that can be installed when they are needed. For the usages that only need the tools, the intel-gpu-tools package contains those. Suggested-by: Richard Purdie Signed-off-by: Reinette Chatre Signed-off-by: Saul Wold --- .../recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common') diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb index 71a30f8d..94772cad 100644 --- a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb +++ b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb @@ -9,6 +9,9 @@ inherit autotools gtk-doc DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr" RDEPENDS_${PN} += "bash" +RDEPENDS_${PN}-tests += "bash" + +PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" SRC_URI[md5sum] = "9ef0d6385e2665db7afa6432f1418ed3" SRC_URI[sha256sum] = "c6e65884c106eff4af3a6896ae3fede6bf309337962f2e75ab897f116872ae34" @@ -25,3 +28,10 @@ gputools_sysroot_preprocess() { SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" FILES_${PN} += "${libdir}/intel_aubdump.so" +FILES_${PN}-benchmarks += "${libexecdir}/intel-gpu-tools/benchmarks" +FILES_${PN}-tests += "\ + ${libexecdir}/intel-gpu-tools/*\ + ${datadir}/intel-gpu-tools/1080p-right.png\ + ${datadir}/intel-gpu-tools/1080p-left.png\ + ${datadir}/intel-gpu-tools/pass.png\ + ${datadir}/intel-gpu-tools/test-list.txt" -- cgit v1.2.3-54-g00ecf