]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Drop SOC-specific header installation
authorTom Hochstein <tom.hochstein@nxp.com>
Sun, 31 Oct 2021 14:17:09 +0000 (09:17 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Mon, 1 Nov 2021 14:10:15 +0000 (09:10 -0500)
The recipe installs GLES3 headers based on SOC. This is not necessary
as lack of support is expected to be handled at runtime.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit f363b1dd2ff34ae3bce1487e24b2029e9f7aeb62)

recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 548394d17743612576484069832227348d800197..325d36d7053a78d3f18d46cfa00f6885efccd608 100644 (file)
@@ -147,11 +147,6 @@ PACKAGE_FP_TYPE = "hardfp"
 HAS_GBM     = "false"
 HAS_GBM:mx8 = "true"
 
-GLES3_HEADER_REMOVALS        = "gl31.h gl32.h"
-GLES3_HEADER_REMOVALS:mx8m   = "gl32.h"
-GLES3_HEADER_REMOVALS:mx8mm  = "gl31.h gl32.h"
-GLES3_HEADER_REMOVALS:mx8qxp = ""
-GLES3_HEADER_REMOVALS:mx8qm  = ""
 
 LIBVULKAN_VERSION_MAJOR = "1"
 LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6"
@@ -236,10 +231,6 @@ do_install () {
         ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so
     fi
 
-    for header in ${GLES3_HEADER_REMOVALS}; do
-        rm -f ${D}${includedir}/GLES3/${header}
-    done
-
     # FIXME: MX6SL does not have 3D support; hack it for now
     if [ "${IS_MX6SL}" = "1" ]; then
         rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \