Openembedded Core Discussions
 help / color / mirror / Atom feed
* Kernel: Builds use old version of defconfig
@ 2016-11-24 10:10 Mike Looijmans
  2016-11-24 10:32 ` Mike Looijmans
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Looijmans @ 2016-11-24 10:10 UTC (permalink / raw)
  To: openembedded-core

I'm currently experiencing a problem with "defconfig" files and the kernel.

In short, when I make a change to the "defconfig" file, the kernel is rebuilt 
(which is correct), but the resulting kernel has been built using the old 
defconfig from a previous build, instead of the new one.

The kernel recipe just contains "file://defconfig" in its SRC_URI. The 
defconfig file is in the project's overlay.

For example, I have a kernel with "CONFIG_DEVMEM" disabled:

# gunzip < /proc/config.gz | grep DEVMEM
# CONFIG_DEVMEM is not set

Now, I change the defconfig to contain CONFIG_DEVMEM=y and build the image. 
The result:

# gunzip < /proc/config.gz | grep DEVMEM
# CONFIG_DEVMEM is not set

So the change did not make it into the actual kernel, even though the kernel 
was rebuild as a result of the change.

I run "bitbake -c cleansstate virtual/kernel" and build the image again:

# gunzip < /proc/config.gz | grep DEVMEM
CONFIG_DEVMEM=y

After cleaning, the result is correct and the new defconfig is active.

I'm trying to figure out how this can happen, any help is welcome...


Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-29 17:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 10:10 Kernel: Builds use old version of defconfig Mike Looijmans
2016-11-24 10:32 ` Mike Looijmans
2016-11-24 13:55   ` Bruce Ashfield
2016-11-29  2:03     ` Khem Raj
2016-11-29  7:58       ` Mike Looijmans
2016-11-29 17:25         ` Khem Raj
2016-11-29 17:49         ` Andre McCurdy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox