When specifying additiona user-specified kernel compilation source
files in a 'files.XXX' file, config allows non-FreeBSD source files with the same name as a FreeBSD source file to override the latter, and in this situation it issues a warning. However, if one of the user-specified files is actually a FreeBSD source file (perhaps your kernel has some custom option that requires that file), config mistakenly thinks it's a completely new file and goes ahead and overrides all previous information for that file (and issues the warning). Fix this. With help from: julian
This commit is contained in:
parent
b152132e64
commit
1e306bb1c6
@ -309,7 +309,7 @@ read_files()
|
||||
else
|
||||
isdup = 0;
|
||||
tp = 0;
|
||||
if (first == 3 && (tp = fltail_lookup(this)) != 0)
|
||||
if (first == 3 && fl_lookup(this) == 0 && (tp = fltail_lookup(this)) != 0)
|
||||
printf("%s: Local file %s overrides %s.\n",
|
||||
fname, this, tp->f_fn);
|
||||
nreqs = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user