summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-08 14:03:14 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-10 14:12:25 -0300
commit3123aad222b2d6c2cfbfd04582f7514b023acfe3 (patch)
treed276d985a9a485d291d0afe7047f23a1d0d910d9
parentb8fc74e7ae18b0739caac6b6a07212436c945fa1 (diff)
downloadmeta-freescale-3123aad222b2d6c2cfbfd04582f7514b023acfe3.tar.gz
imx-gpu-viv: Document the Vivante kernel driver parse guard
The guard must skip the recipe during parse, so a task cannot replace it. COMPATIBLE_MACHINE cannot either: MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT is a weak default over SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT:imxgpu that a machine conf may set on its own, so an (imxgpu) regex would ignore that choice. Kept as an anonymous python with the reason recorded in place. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc3
1 files changed, 3 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 3bf3938e1..59ad57f46 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -118,6 +118,9 @@ PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev"
118# recognised even when the current parse does not activate those conditions. 118# recognised even when the current parse does not activate those conditions.
119PACKAGES_DYNAMIC += "^libgbm-imx ^libvulkan-imx ^libopenvx-imx" 119PACKAGES_DYNAMIC += "^libgbm-imx ^libvulkan-imx ^libopenvx-imx"
120 120
121# MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT is a machine capability flag that a
122# machine conf may set on its own, so COMPATIBLE_MACHINE cannot express this skip.
123# nooelint: oelint.task.noanonpython
121python __anonymous () { 124python __anonymous () {
122 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0') 125 has_vivante_kernel_driver_support = (d.getVar('MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT') or '0')
123 if has_vivante_kernel_driver_support != '1': 126 if has_vivante_kernel_driver_support != '1':