[meta-freescale] [meta-fsl-arm-extra PATCH] linux-toradex (3.14.28): Restrict recipe parsing for compatible machines

Otavio Salvador otavio at ossystems.com.br
Mon Jan 18 09:51:42 PST 2016

While it is good, as design, allow for easier reuse of the recipe by
custom designs (specially SoM-based ones) it requires that we provide
common 'defconfig' files.

The Toradex kernel does not provide a i.MX6 generic defconfig file
thus triggering a warning when building for other boards, as:

| WARNING: Unable to get checksum for linux-toradex SRC_URI entry
|     defconfig: file could not be found.

To avoid this warning, the compatible machine is now set for the
compatible ones (apalis-imx6 and colibri-imx6).

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

 recipes-kernel/linux/linux-toradex_3.14.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-toradex_3.14.28.bb b/recipes-kernel/linux/linux-toradex_3.14.28.bb
index e7d8718..abd4278 100644
--- a/recipes-kernel/linux/linux-toradex_3.14.28.bb
+++ b/recipes-kernel/linux/linux-toradex_3.14.28.bb
@@ -10,4 +10,4 @@ LOCALVERSION = "-v2.5b2"
 SRCBRANCH = "toradex_imx_3.14.28_1.0.0_ga"
 SRCREV = "8f237ebe42f2cb911245369276a6b3043c2815f2"
 DEPENDS += "lzop-native bc-native"
+COMPATIBLE_MACHINE = "(apalis-imx6|colibri-imx6)"

More information about the meta-freescale mailing list