[meta-freescale] [meta-fsl-arm][PATCH v3 3/6] linux-ls1: Add kernel recipes for Layerscape1 support

Otavio Salvador otavio at ossystems.com.br
Wed Sep 3 14:15:14 PDT 2014


On Wed, Sep 3, 2014 at 5:42 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
...
> +# The ls1 defconfig is maintained in kernel source, copy it to
> +# ${WORKDIR}/defconfig
> +do_configure_prepend () {
> +    if [ ! -f ${WORKDIR}/defconfig ] && [ -f ${KERNEL_DEFCONFIG} ]; then
> +        cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig
> +    fi
> +}

I understand why you does this however this makes very hard for users
to change the kernel config in a convenient way. Several users end
doing minor edits on the defconfig inside the layer for test purposes
and I think this is a good thing to have as we are very concerned with
easy to use.

Can you use the defconfig in SRC_URI and put it in the layer?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list