diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2004-06-20 06:46:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-20 06:46:14 -0700 |
commit | 914352a1083bd3b105be67b6f800509e3f54bc61 (patch) | |
tree | 3dae84dd0e8cdf9fa9fa7deb7b045e4f57d32e70 /kernel | |
parent | 0b79c100814b61322521599ab37773c152d0edf1 (diff) | |
download | history-914352a1083bd3b105be67b6f800509e3f54bc61.tar.gz |
[PATCH] Avoid rebuild of IKCFG when using O=
When using a separate output directory the in-kernel config wiere rebuild
each time the kernel was compiled. Fix this by specifying correct path to
Makefile in the prerequisite to the ikconfig.h file.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 238c65f60d9e37..2b7b352b1a38b7 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -48,7 +48,7 @@ quiet_cmd_ikconfig = IKCFG $@ cmd_ikconfig = $(CONFIG_SHELL) $< .config $(srctree)/Makefile > $@ targets += ikconfig.h -$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE +$(obj)/ikconfig.h: scripts/mkconfigs .config $(srctree)/Makefile FORCE $(call if_changed,ikconfig) # config_data.h contains the same information as ikconfig.h but gzipped. |