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
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