summaryrefslogtreecommitdiff
path: root/scripts/kconfig/util.c
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-31 23:41:53 +0000
committerDenis Vlasenko2009-03-31 23:41:53 +0000
commit88b8f0a3475fc1f2e1b3cf58b63902551dae0169 (patch)
tree816f021aa601eba0c1f76c2a3296cf0255dfa9e0 /scripts/kconfig/util.c
parentd3081062453cb394052dd2d8ecda94aaaff3c6df (diff)
downloadbusybox-88b8f0a3475fc1f2e1b3cf58b63902551dae0169.zip
busybox-88b8f0a3475fc1f2e1b3cf58b63902551dae0169.tar.gz
sendmail: update by Vladimir
build system: tweak for rare case where include/autoconf.h does not get updated function old new delta packed_usage 26238 26242 +4 sendmail_main 1353 897 -456 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-456) Total: -452 bytes
Diffstat (limited to 'scripts/kconfig/util.c')
-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 aea8d56..0461a5f 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;