diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2016-02-09 15:57:54 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-02-12 14:20:51 -0800 |
commit | 39544083034168d0d75b4dc0d7053ce448c16e31 (patch) | |
tree | 3a9d5f9e32cf51000510e112b50208c5b5359936 | |
parent | 785ab470df480192fe1a973056f5e92e6ae91322 (diff) | |
download | meta-intel-39544083034168d0d75b4dc0d7053ce448c16e31.tar.gz |
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>
-rw-r--r-- | common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.13.bb | 10 |
1 files changed, 10 insertions, 0 deletions
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 | |||
9 | 9 | ||
10 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr" | 10 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr" |
11 | RDEPENDS_${PN} += "bash" | 11 | RDEPENDS_${PN} += "bash" |
12 | RDEPENDS_${PN}-tests += "bash" | ||
13 | |||
14 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | ||
12 | 15 | ||
13 | SRC_URI[md5sum] = "9ef0d6385e2665db7afa6432f1418ed3" | 16 | SRC_URI[md5sum] = "9ef0d6385e2665db7afa6432f1418ed3" |
14 | SRC_URI[sha256sum] = "c6e65884c106eff4af3a6896ae3fede6bf309337962f2e75ab897f116872ae34" | 17 | SRC_URI[sha256sum] = "c6e65884c106eff4af3a6896ae3fede6bf309337962f2e75ab897f116872ae34" |
@@ -25,3 +28,10 @@ gputools_sysroot_preprocess() { | |||
25 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | 28 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" |
26 | 29 | ||
27 | FILES_${PN} += "${libdir}/intel_aubdump.so" | 30 | FILES_${PN} += "${libdir}/intel_aubdump.so" |
31 | FILES_${PN}-benchmarks += "${libexecdir}/intel-gpu-tools/benchmarks" | ||
32 | FILES_${PN}-tests += "\ | ||
33 | ${libexecdir}/intel-gpu-tools/*\ | ||
34 | ${datadir}/intel-gpu-tools/1080p-right.png\ | ||
35 | ${datadir}/intel-gpu-tools/1080p-left.png\ | ||
36 | ${datadir}/intel-gpu-tools/pass.png\ | ||
37 | ${datadir}/intel-gpu-tools/test-list.txt" | ||