diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-10-31 09:22:53 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2021-10-31 09:33:17 -0500 |
commit | 3e1403807107397d8c07508835e9efdde4ff537f (patch) | |
tree | aeea6e614e2f024565dabb642757557177df1ebc /recipes-graphics | |
parent | f363b1dd2ff34ae3bce1487e24b2029e9f7aeb62 (diff) | |
download | meta-freescale-3e1403807107397d8c07508835e9efdde4ff537f.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>
Diffstat (limited to 'recipes-graphics')
-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 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" | |||
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 | do_install () { | 158 | do_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 |