mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
785ab470df
commit
3954408303
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user