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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

945件の閲覧回数
yanfengliu
Contributor III

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

ラベル(3)
0 件の賞賛
1 返信

548件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

You need to do the following:

bitbake linux-imx -c menuconfig

linux-imx_3.14.28.bb

do_configure_prepend() {

# copy latest defconfig for imx_v7_defconfig  to use

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

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

fi

}

Please see more details in the following threads

Kernel config file used by Yocto

Changing the Kernel configuration for i.MX6 SABRE

0 件の賞賛