diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-11-01 08:30:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 08:30:22 -0300 |
commit | 2cda103796e567d6ce17874df37f9bcfed13a69f (patch) | |
tree | e52414b86f24aeea3b027e9a9449442ef562f03b /recipes-graphics/imx-gpu-viv | |
parent | c997e0d3c63e2ddee2fffca805f27dc3b9201d9e (diff) | |
parent | 3e1403807107397d8c07508835e9efdde4ff537f (diff) | |
download | meta-freescale-2cda103796e567d6ce17874df37f9bcfed13a69f.tar.gz |
Merge pull request #907 from thochstein/master
imx-gpu-viv updates for 6.4.3.p2.2
Diffstat (limited to 'recipes-graphics/imx-gpu-viv')
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 548394d1..14912e1b 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -147,11 +147,13 @@ PACKAGE_FP_TYPE = "hardfp" | |||
147 | HAS_GBM = "false" | 147 | HAS_GBM = "false" |
148 | HAS_GBM:mx8 = "true" | 148 | HAS_GBM:mx8 = "true" |
149 | 149 | ||
150 | GLES3_HEADER_REMOVALS = "gl31.h gl32.h" | 150 | IMX_SOC = "IMX_SOC_NOT_SET" |
151 | GLES3_HEADER_REMOVALS:mx8m = "gl32.h" | 151 | IMX_SOC:mx8qm = "mx8qm" |
152 | GLES3_HEADER_REMOVALS:mx8mm = "gl31.h gl32.h" | 152 | IMX_SOC:mx8mp = "mx8mp" |
153 | GLES3_HEADER_REMOVALS:mx8qxp = "" | 153 | IMX_SOC:mx8mq = "mx8mq" |
154 | GLES3_HEADER_REMOVALS:mx8qm = "" | 154 | IMX_SOC:mx8qxp = "mx8qxp" |
155 | IMX_SOC:mx8mn = "mx8mn" | ||
156 | IMX_SOC:mx8ulp = "mx8ulp" | ||
155 | 157 | ||
156 | LIBVULKAN_VERSION_MAJOR = "1" | 158 | LIBVULKAN_VERSION_MAJOR = "1" |
157 | LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" | 159 | LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" |
@@ -169,6 +171,10 @@ do_install () { | |||
169 | # Use vulkan header from vulkan-headers recipe to support vkmark | 171 | # Use vulkan header from vulkan-headers recipe to support vkmark |
170 | rm -rf ${D}${includedir}/vulkan/ | 172 | rm -rf ${D}${includedir}/vulkan/ |
171 | 173 | ||
174 | if [ -d ${S}/gpu-core/usr/lib/${IMX_SOC} ]; then | ||
175 | cp -r ${S}/gpu-core/usr/lib/${IMX_SOC}/* ${D}${libdir} | ||
176 | fi | ||
177 | |||
172 | install -d ${D}${libdir}/pkgconfig | 178 | install -d ${D}${libdir}/pkgconfig |
173 | if ${HAS_GBM}; then | 179 | if ${HAS_GBM}; then |
174 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gbm.pc ${D}${libdir}/pkgconfig/gbm.pc | 180 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gbm.pc ${D}${libdir}/pkgconfig/gbm.pc |
@@ -236,10 +242,6 @@ do_install () { | |||
236 | ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so | 242 | ln -s libvulkan_VSI.so.$FULL ${D}${libdir}/libvulkan_VSI.so |
237 | fi | 243 | fi |
238 | 244 | ||
239 | for header in ${GLES3_HEADER_REMOVALS}; do | ||
240 | rm -f ${D}${includedir}/GLES3/${header} | ||
241 | done | ||
242 | |||
243 | # FIXME: MX6SL does not have 3D support; hack it for now | 245 | # FIXME: MX6SL does not have 3D support; hack it for now |
244 | if [ "${IS_MX6SL}" = "1" ]; then | 246 | if [ "${IS_MX6SL}" = "1" ]; then |
245 | rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \ | 247 | rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \ |