diff options
Diffstat (limited to 'classes/use-imx-headers.bbclass')
-rw-r--r-- | classes/use-imx-headers.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass index 9dcd864d..d2214b6d 100644 --- a/classes/use-imx-headers.bbclass +++ b/classes/use-imx-headers.bbclass | |||
@@ -17,3 +17,15 @@ DEPENDS_append_imx = " linux-imx-headers" | |||
17 | PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" | 17 | PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" |
18 | 18 | ||
19 | STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" | 19 | STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" |
20 | |||
21 | # Recipes that inherit this class are contracted to use NXP BSP only. | ||
22 | # This is done by overriding the COMPATIBLE_HOST, as this would effectively | ||
23 | # cause recipes to be skipped in case if 'use-nxp-bsp' override is not | ||
24 | # defined for them. This effectively marks recipes that should only be | ||
25 | # built using NXP BSP, and gives an indication to mainline BSP creators | ||
26 | # that recipe is not compatible with mainline. | ||
27 | # | ||
28 | # Typical example here would be imx-vpu-hantro recipe, which requires NXP | ||
29 | # BSP and is not compatible with mainline. | ||
30 | COMPATIBLE_HOST = '(null)' | ||
31 | COMPATIBLE_HOST_use-nxp-bsp = '.*' | ||