2014-07-29

How to change kernel config?

Run below command in you workarea(e.g. src/nm_nokia_local)

$ make -C kernel O=../out/target/product/msm8625/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=arm-eabi- xconfig

You will get a UI to do config. Also can search by going to Edit->Find

After changing the kernel configuration is important to copy it over the original config. e.g. for B2 device.

$ cp out/target/product/msm8625/obj/KERNEL_OBJ/.config kernel/arch/arm/configs/normandy_b2_defconfig

Then start your build..

$make -j4

 

No comments: