From 8263c26d4eedaf903d8f47e583c025aba50de2de Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 29 Sep 2019 22:30:42 +0200 Subject: linux-driver-package, mesa: rework the recipe Recent OE adds additional shared object checks which errors out on the way the binary Tegra drivers are injected. Rework the recipes, so that - mesa no longer PROVIDE any OpenGL shared objects and the binaries. - linux-driver-package now depends on mesa to install development headers - linux-driver-package PROVIDE and RPROVIDE the OpenGL shared objects. - linux-driver-package drops the additional arm-linux-gnueabihf/tegra path to the *.so* files. - the apalis-tk1 machine PREFERS linux-driver-package as the OpenGL provider. Signed-off-by: Max Krummenacher --- recipes-graphics/mesa/mesa_%.bbappend | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'recipes-graphics/mesa/mesa_%.bbappend') diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index c34c789..b3f960f 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -1,13 +1,17 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - ##### # tegra tk1 -DEPENDS_append_tegra124= " linux-driver-package" -SRC_URI_append_tegra124 = " file://0001-pkg-config-files-add-tegra-paths.patch" - PACKAGE_ARCH_tegra124 = "${MACHINE_ARCH}" +PROVIDES_remove_tegra124 = "virtual/egl virtual/libgl virtual/libgles1 virtual/libgles2" + +do_install_append_tegra124 () { + rm ${D}${libdir}/libEGL.so* + rm ${D}${libdir}/libGL.so* + rm ${D}${libdir}/libGLESv1*.so* + rm ${D}${libdir}/libGLESv2.so* +} + ##### ## Tegra TK1 mainline kernel -- cgit v1.2.3