Linaro / meta-qcom

OpenEmbedded/Yocto Project BSP layer for Qualcomm based platforms
MIT License
63 stars 76 forks source link

linux-qcom-uki: use bb.parse.SkipRecipe for the kernel Image check #667

Closed ricardosalveti closed 1 month ago

ricardosalveti commented 1 month ago

Move the kernel Image check to the same python parsing logic created for merging KERNEL_IMAGETYPES, as SKIP_RECIPE does not take into account dynamic python logic, rejecting the updated KERNEL_IMAGETYPES value.

Since KERNEL_IMAGETYPES is not used anywhere else in the recipe, remove setVar and just use the merged 'types' variable instead.

ricardosalveti commented 1 month ago

@ndechesne fyi, tested with meta-qcom-hwe master.