kernel: prevent unnecessary rebuilding due to config_data.gz
authorPeter Foley <pefoley2@verizon.net>
Tue, 5 Jul 2011 23:42:18 +0000 (19:42 -0400)
committerMichal Marek <mmarek@suse.cz>
Tue, 19 Jul 2011 23:32:32 +0000 (01:32 +0200)
When IKCONFIG is built-in make oldconfig will cause the kernel to be
relinked even if .config didn't change. This happens because of a
config_data.gz dependency on .config. This patch changes the if_changed
to a filechk so that config_data.h is only rebuilt when the contents
have actually changed.

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
kernel/Makefile

diff --cc kernel/Makefile
Simple merge