AnsweredAssumed Answered

How to keep config for 3.14.28 kernel together with 3.14.28.bb?

Question asked by Yanfeng Liu on Sep 22, 2015
Latest reply on Oct 15, 2015 by jamesbone

We can use "bitbake linux-imx -c menuconfig" to customize the 3.14.28 kernel configuration.

However, we can't persist the customized configuration by following the Building Linux Kernel link, reason is 3.14.28.bb kernel recipe doesn't take defconfig saved under the folds mentioned in that guide since it contains the following line:

 

{code}

do_configure_prepend() {

   # copy latest defconfig for imx_v7_defoonfig to use

   cp ${S}/arch/arm/configs/imx_v7_defconfig ${S}/.config

   cp ${S}/arch/arm/configs/imx_v7_defconfig ${S}/../defconfig

}

{code}

 

Can we modify the 3.14.28.bb somehow to use a defconfig in a folder similar to the one mentioned in Building Linux Kernel?

 

Regards,

yanfeng

Outcomes