Max Herman

LTIB resets my kernel config, while compiling

Discussion created by Max Herman on Sep 19, 2011
Latest reply on Apr 1, 2016 by Kiran Nevaskar
Hello, I'm building a linux image for i.MX28, with LTIB, under Ubuntu 11.04 (also tried same under Ubuntu 9 on VMWare, by freescale). I noticed that some parameters of the kernel configuration that I selected from menuconfig or manually selected (by editing the config file) are not present in a kernel that I built. 

I did some debugging, and found that "scripts/kconfig/conf -o arch/arm/Kconfig" command right at the beginning of the build process resets some kernel settings.

Any way to fix this? 

Here is how it looks like:

+ cp -f /home/max/imx28/ltib/config/platform/imx/ ./.config
+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ oldconfig
+ yes
scripts/kconfig/conf -o arch/arm/Kconfig
# configuration written to .config

+ [ -f /home/max/imx28/ltib/config/platform/imx/ ]
+ diff -q ./.config /home/max/imx28/ltib/config/platform/imx/
Files ./.config and /home/max/imx28/ltib/config/platform/imx/ differ
+ cp -f ./.config /home/max/imx28/ltib/config/platform/imx/