[yocto] arm yocto-linux custom defconfig not working

Pierluigi Greto pierluigi.greto at bisdn.de
Thu Jun 6 07:06:00 PDT 2019


Hi,

thank you for the reply. In the attahcment the layer for the kernel and 
the layer with the machine configurations.

Pierluigi

On 06/06/19 15:47, Bruce Ashfield wrote:
> On Thu, Jun 6, 2019 at 9:38 AM Pierluigi Greto <pierluigi.greto at bisdn.de> wrote:
>> Hi,
>>
>> I have to create a custom 4.14.49 linux kernel. In my recipe I have added my defconfig, but yocto it's not taking in consideration the defconfig. Instead it's building the kernel using the default values. Also the compilation task is to fast for building the kernel. My target system is an arm architecture (DEFAULTTUNE ?= "cortexa9").
>> I have tried also to append this on my recipe but the result does not change:
> Can you share your kernel recipe and layer(s) + defconfig ? Things are
> working fine for me, but if I can see (and build) your recipes perhaps
> something can be spotted.
>
> Bruce
>
>> do_compile_prepend() {
>>       cp ${WORKDIR}/defconfig ${B}/defconfig
>>       cp ${WORKDIR}/defconfig ${B}/.config
>>       oe_runmake -C ${B} ARCH=${ARCH} ${S}/defconfig
>> }
>>
>> If i try to "cheat" and add cp ${WORKDIR}/defconfig ${S}/.config on the do_compile_prepend obviously make will not work: "kernel-source is not clean, please run 'make mrprop' ".
>>
>> Any suggestions is very welcome.
>>
>> Thank you,
>> Pierluigi
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meta-open-network-linux.zip
Type: application/zip
Size: 247645 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190606/58a2d910/attachment-0002.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meta-accton-as4610-54.zip
Type: application/zip
Size: 1890 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190606/58a2d910/attachment-0003.zip>


More information about the yocto mailing list