From 63c1be532d456f27c8609a11b080fa0f588fef69 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 11 Sep 2014 12:03:17 +0100 Subject: 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 Signed-off-by: Tom Zanussi --- common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.5.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/recipes-graphics') 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" EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger --disable-dumper" COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" + +gputools_sysroot_preprocess() { + rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc +} +SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" -- cgit v1.2.3-54-g00ecf