summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index ee3ac71d9..468849c82 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -47,8 +47,12 @@ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
47 imx-gpu-viv-demos imx-gpu-viv-demos-dbg \ 47 imx-gpu-viv-demos imx-gpu-viv-demos-dbg \
48" 48"
49 49
50# Skip package if it does not match the machine float-point type in use
51python __anonymous () { 50python __anonymous () {
51 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT', True) or '0')
52 if has_vivante_kernel_driver_support != '1':
53 raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.')
54
55 # Skip package if it does not match the machine float-point type in use
52 is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) 56 is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d)
53 is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp" 57 is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp"
54 58
@@ -254,6 +258,8 @@ FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
254FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" 258FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}"
255FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" 259FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL"
256FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}" 260FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
261RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv"
262INSANE_SKIP_libgal-mx6 += "build-deps"
257 263
258FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}" 264FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}"
259 265