diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2020-09-08 12:49:43 -0700 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-09-29 18:06:06 -0300 |
commit | 820318cc81b8c68f4a3f0f91f577a1b6bf1a48f2 (patch) | |
tree | 7252513bd3325642cdf15118b234701dc003ca1a /recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |
parent | fb7d666716e2281ce7f5b0da0154ec563b854a48 (diff) | |
download | meta-freescale-820318cc81b8c68f4a3f0f91f577a1b6bf1a48f2.tar.gz |
imx-gpu-viv: Use PACKAGECONFIG for valgrind support of libgal
This replaces the previous RSUGGESTS use which does not work for all
package managers and is not widely used.
The use model of PACKAGECONFIG seems a better fit here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit fa9f93999e85fe0851b39a93a5c2c575371f2929)
Diffstat (limited to 'recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc')
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 7 |
1 files changed, 6 insertions, 1 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 7b05311e..c3df40d8 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -61,6 +61,11 @@ REQUIRED_DISTRO_FEATURES_mx8 = "wayland" | |||
61 | 61 | ||
62 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 62 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
63 | 63 | ||
64 | PACKAGECONFIG ?= "" | ||
65 | |||
66 | # Enables valgrind annotations for libgal-imx | ||
67 | PACKAGECONFIG[valgrind] = "" | ||
68 | |||
64 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below | 69 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below |
65 | IMX_PACKAGES_GBM = "" | 70 | IMX_PACKAGES_GBM = "" |
66 | IMX_PACKAGES_GBM_mx8 = "libgbm-imx libgbm-imx-dev" | 71 | IMX_PACKAGES_GBM_mx8 = "libgbm-imx libgbm-imx-dev" |
@@ -304,7 +309,7 @@ FILES_libegl-imx-dev = "${libdir}/libEGL${SOLIBSDEV} ${includedir}/EGL ${include | |||
304 | FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | 309 | FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" |
305 | FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | 310 | FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" |
306 | RDEPENDS_libgal-imx += "kernel-module-imx-gpu-viv" | 311 | RDEPENDS_libgal-imx += "kernel-module-imx-gpu-viv" |
307 | RSUGGESTS_libgal-imx += "valgrind" | 312 | RDEPENDS_libgal-imx += "${@bb.utils.contains('PACKAGECONFIG', 'valgrind', 'valgrind', '', d)}" |
308 | RPROVIDES_libgal-imx += "libgal-imx" | 313 | RPROVIDES_libgal-imx += "libgal-imx" |
309 | INSANE_SKIP_libgal-imx += "build-deps" | 314 | INSANE_SKIP_libgal-imx += "build-deps" |
310 | 315 | ||