]> 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>
Sun, 31 Oct 2021 14:33:17 +0000 (09:33 -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>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 872fef5581a8faf7dc7143a6442b8d610f315df6..ab1a258220f15507445b0d88c0ac89c22410b0e3 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  = ""
 
 do_install () {
     install -d ${D}${libdir}
@@ -233,10 +228,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 \