[meta-freescale] [meta-fsl-arm PATCH 3/3] linux-fslc: Use KERNEL_EXTRA_ARGS instead of EXTRA_OEMAKE

Fabio Estevam festevam at gmail.com
Thu Apr 18 08:42:09 PDT 2013


On Thu, Apr 18, 2013 at 10:12 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:

>  # We need to pass it as param since kernel might support more then one
>  # machine, with different entry points
> -EXTRA_OEMAKE += "LOADADDR=${UBOOT_ENTRYPOINT}"
> +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"

Can't we put KERNEL_EXTRA_ARGS into a more common location?

In 2/3 you placed it in linux-imx.inc, which covers 2.6.35/3.0.35
kernels, but I am was wondering if you could make this applied for all
the kernels generated by meta-fsl-arm.

This way we do not have to add this entry to every newer version of
the kernel recipes.

For example, when linux-fslc_3.9.bb comes out we can rely on
KERNEL_EXTRA_ARGS being set on a common location, instead of having to
add it inside linux-fslc_3.9.bb.



More information about the meta-freescale mailing list