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)
commite78e8f2d8318851d0911039999c903a6082bef2e
tree6de5c0c1fd3219985116b2225448c0c0f8a23093
parentf210735fe2f17a6225432ee3d1239bcf23a8659c
kernel: prevent unnecessary rebuilding due to config_data.gz

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