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:
phcoder 2009-06-04 19:39:51 +00:00
parent 5b889789b1
commit fb14123e01
4 changed files with 14 additions and 4 deletions

View file

@ -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 = ""