diff options
author | Ross Burton <ross.burton@intel.com> | 2014-09-11 12:03:17 +0100 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2014-09-24 19:02:30 -0500 |
commit | 63c1be532d456f27c8609a11b080fa0f588fef69 (patch) | |
tree | cd8abcca7c1413faf5d4fed3721a13dcc0fe2013 /common/recipes-graphics | |
parent | a369fa8f2d76528cb296ef9314e613e26585d54d (diff) | |
download | meta-intel-63c1be532d456f27c8609a11b080fa0f588fef69.tar.gz |
intel-gpu-tools: remove intel-gen4asm.pc from sysroot
When the target sysroot is populated the binaries are not coppied over (as they
can't be executed) but intel-gen4asm.pc is. This pkg-config file is only used
to determine what version of the binary is installed, which confuses the
libva-intel-driver configure script as it thinks that intel-gen4asm is installed
when it isn't.
Resolve this by removing intel-gen4asm.pc from the sysroot.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'common/recipes-graphics')
-rw-r--r-- | common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb index 66075f66..8c234ecc 100644 --- a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb +++ b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb | |||
@@ -14,3 +14,8 @@ DEPENDS += "libdrm libpciaccess cairo udev glib-2.0" | |||
14 | 14 | ||
15 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger --disable-dumper" | 15 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger --disable-dumper" |
16 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | 16 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" |
17 | |||
18 | gputools_sysroot_preprocess() { | ||
19 | rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc | ||
20 | } | ||
21 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | ||