diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-10-31 09:22:53 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2021-11-01 09:10:15 -0500 |
commit | a4f58dbdddef66c9289261a8d527bc0f717b3d74 (patch) | |
tree | 862a92da4c294a76191cb199cc1edafac4666db0 | |
parent | a703c334bbca3f2998f4c61e16661c4999d36f50 (diff) | |
download | meta-freescale-a4f58dbdddef66c9289261a8d527bc0f717b3d74.tar.gz |
imx-gpu-viv: Install SOC-specific binaries
The archive now contains SOC-specific binaries.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 3e1403807107397d8c07508835e9efdde4ff537f)
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 11 |
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 325d36d7..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,6 +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 | IMX_SOC = "IMX_SOC_NOT_SET" | ||
151 | IMX_SOC:mx8qm = "mx8qm" | ||
152 | IMX_SOC:mx8mp = "mx8mp" | ||
153 | IMX_SOC:mx8mq = "mx8mq" | ||
154 | IMX_SOC:mx8qxp = "mx8qxp" | ||
155 | IMX_SOC:mx8mn = "mx8mn" | ||
156 | IMX_SOC:mx8ulp = "mx8ulp" | ||
150 | 157 | ||
151 | LIBVULKAN_VERSION_MAJOR = "1" | 158 | LIBVULKAN_VERSION_MAJOR = "1" |
152 | LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" | 159 | LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" |
@@ -164,6 +171,10 @@ do_install () { | |||
164 | # Use vulkan header from vulkan-headers recipe to support vkmark | 171 | # Use vulkan header from vulkan-headers recipe to support vkmark |
165 | rm -rf ${D}${includedir}/vulkan/ | 172 | rm -rf ${D}${includedir}/vulkan/ |
166 | 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 | |||
167 | install -d ${D}${libdir}/pkgconfig | 178 | install -d ${D}${libdir}/pkgconfig |
168 | if ${HAS_GBM}; then | 179 | if ${HAS_GBM}; then |
169 | 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 |