]> code.ossystems Code Review - meta-freescale.git/commit
recipes-*: refine restrictions for NXP BSP
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Thu, 16 Apr 2020 22:17:45 +0000 (22:17 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 16 Apr 2020 23:04:08 +0000 (20:04 -0300)
commit4ab569fb67b9499e4782071aec9ba92174184786
treef89923cd3947f2761bd0119eeda58ebf95836eb6
parentccf7a0a99308611bff0241b021681507b6ee78cc
recipes-*: refine restrictions for NXP BSP

Certain packages are using linux-imx-headers, which enforces them to use
NXP BSP since headers are provided from the NXP kernel tree.

Those recipes, which requires NXP kernel headers, are now including the
use-imx-headers class to make sure the correct headers package is used.

Since the introduction of separation between NXP and Mainline BSP for
certain machines, recipes which are NXP-dependent are getting their
COMPATIBLE_HOST to be marked as (null) effectively making them
incompatible with mainline BSP which is expected behavior.

By extending this restriction into the use-imx-headers class, all
recipes which inherits is (because it is required) are getting
automatically restricted to NXP BSP, hence making package NXP-dependent
much easier.

linux-imx-headers is marked as "NXP-only" but it is done explicitly
inside the recipe in order to avoid confusion of inheriting the class.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
classes/use-imx-headers.bbclass
recipes-bsp/imx-test/imx-test_git.bb
recipes-kernel/linux/linux-imx-headers_5.4.3.bb