aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/util.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c
index aea8d56ce..0461a5f40 100644
--- a/scripts/kconfig/util.c
+++ b/scripts/kconfig/util.c
@@ -44,7 +44,13 @@ int file_write_dep(const char *name)
else
fprintf(out, "\t%s\n", file->name);
}
- fprintf(out, "\n.config include/autoconf.h: $(deps_config)\n\n$(deps_config):\n");
+ fprintf(out,
+ "\n"
+ ".config include/autoconf.h: $(deps_config)\n"
+ "\n"
+ "include/autoconf.h: .config\n" /* bbox */
+ "\n"
+ "$(deps_config):\n");
fclose(out);
rename("..config.tmp", name);
return 0;