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

Max Krummenacher max.oss.09 at gmail.com
Mon Jan 18 15:52:26 PST 2016


Hi Otavio

Am Montag, den 18.01.2016, 15:51 -0200 schrieb Otavio Salvador:
> 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.
> 

Wouldn't it then be better to provide such a common defconfig
additionally? 
If yes I could prepare an alternative patch which adds 
recipes-kernel/linux/linux-toradex-3.14.28/defconfig 
instead of restricting compatible machine. 
I would probably take the current linux-fslc one to cover a greater
range of drivers and options than what we use for our machines.

Regards
Max

> 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 = "(mx6)"
> +COMPATIBLE_MACHINE = "(apalis-imx6|colibri-imx6)"


More information about the meta-freescale mailing list