aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2003-07-25 01:50:00 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-25 01:50:00 -0700
commit669ee167037e98290e81d84da328e03600203dbc (patch)
treed5de9da46573ccb682deb6aca72cd643b802fb58 /scripts
parente0be78df49e4ec36cca39eb1441cd1f040b4f14b (diff)
downloadhistory-669ee167037e98290e81d84da328e03600203dbc.tar.gz
[PATCH] generate dependency again
During an erlier update the call to generate the .config dependency got lost. Add a missing warning.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/confdata.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 4d72008b897911..9ca70d081d1b3f 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -125,7 +125,11 @@ int conf_read(const char *name)
*p++ = 0;
if (strncmp(p, "is not set", 10))
continue;
- sym = sym_lookup(line + 9, 0);
+ sym = sym_find(line + 9);
+ if (!sym) {
+ fprintf(stderr, "%s:%d: trying to assign nonexistent symbol %s\n", name, lineno, line + 9);
+ break;
+ }
switch (sym->type) {
case S_BOOLEAN:
case S_TRISTATE:
@@ -408,6 +412,7 @@ int conf_write(const char *name)
if (out_h) {
fclose(out_h);
rename(".tmpconfig.h", "include/linux/autoconf.h");
+ file_write_dep(NULL);
}
if (!name || basename != conf_def_filename) {
if (!name)