2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Simplify sed expressions and improve awk * Makefile.in (install-local): simplify sed expression * gencmdlist.sh: likewise * genmoddep.awk: avoid adding module as a dependency of itself
This commit is contained in:
parent
5b889789b1
commit
fb14123e01
4 changed files with 14 additions and 4 deletions
|
@ -50,7 +50,7 @@ END {
|
|||
for (i in depmods) {
|
||||
depmod = depmods[i];
|
||||
# Ignore kernel, as always loaded.
|
||||
if (depmod != "kernel")
|
||||
if (depmod != "kernel" && depmod != mod)
|
||||
uniqmods[depmod] = 1;
|
||||
}
|
||||
modlist = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue