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 <[email protected]> Signed-off-by: Reinette Chatre <[email protected]> --- V2: - Use new PACKAGE_BEFORE_PN feature to ensure single debug package is created. - Now specific to master branch .../recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 71a30f8..94772ca 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" -- 2.4.3 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
