Commit 914352a1 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Linus Torvalds

[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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0b79c100
...@@ -48,7 +48,7 @@ quiet_cmd_ikconfig = IKCFG $@ ...@@ -48,7 +48,7 @@ quiet_cmd_ikconfig = IKCFG $@
cmd_ikconfig = $(CONFIG_SHELL) $< .config $(srctree)/Makefile > $@ cmd_ikconfig = $(CONFIG_SHELL) $< .config $(srctree)/Makefile > $@
targets += ikconfig.h targets += ikconfig.h
$(obj)/ikconfig.h: scripts/mkconfigs .config Makefile FORCE $(obj)/ikconfig.h: scripts/mkconfigs .config $(srctree)/Makefile FORCE
$(call if_changed,ikconfig) $(call if_changed,ikconfig)
# config_data.h contains the same information as ikconfig.h but gzipped. # config_data.h contains the same information as ikconfig.h but gzipped.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment