summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc11
1 files changed, 11 insertions, 0 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 ab1a2582..2f3ff32c 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -147,6 +147,13 @@ PACKAGE_FP_TYPE = "hardfp"
147HAS_GBM = "false" 147HAS_GBM = "false"
148HAS_GBM:mx8 = "true" 148HAS_GBM:mx8 = "true"
149 149
150IMX_SOC = "IMX_SOC_NOT_SET"
151IMX_SOC:mx8qm = "mx8qm"
152IMX_SOC:mx8mp = "mx8mp"
153IMX_SOC:mx8mq = "mx8mq"
154IMX_SOC:mx8qxp = "mx8qxp"
155IMX_SOC:mx8mn = "mx8mn"
156IMX_SOC:mx8ulp = "mx8ulp"
150 157
151do_install () { 158do_install () {
152 install -d ${D}${libdir} 159 install -d ${D}${libdir}
@@ -161,6 +168,10 @@ do_install () {
161 # Use vulkan header from vulkan-headers recipe to support vkmark 168 # Use vulkan header from vulkan-headers recipe to support vkmark
162 rm -rf ${D}${includedir}/vulkan/ 169 rm -rf ${D}${includedir}/vulkan/
163 170
171 if [ -d ${S}/gpu-core/usr/lib/${IMX_SOC} ]; then
172 cp -r ${S}/gpu-core/usr/lib/${IMX_SOC}/* ${D}${libdir}
173 fi
174
164 install -d ${D}${libdir}/pkgconfig 175 install -d ${D}${libdir}/pkgconfig
165 if ${HAS_GBM}; then 176 if ${HAS_GBM}; then
166 install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gbm.pc ${D}${libdir}/pkgconfig/gbm.pc 177 install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gbm.pc ${D}${libdir}/pkgconfig/gbm.pc