[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] Don't put modules without dependencies into moddep.lst
From: |
Pavel Roskin |
Subject: |
[PATCH 2/3] Don't put modules without dependencies into moddep.lst |
Date: |
Tue, 30 Jun 2009 20:35:09 -0400 |
User-agent: |
StGIT/0.14.3 |
ChangeLog:
* genmoddep.awk: Don't output lines that contain to
dependencies.
---
genmoddep.awk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/genmoddep.awk b/genmoddep.awk
index db8e07e..1bdf7f1 100644
--- a/genmoddep.awk
+++ b/genmoddep.awk
@@ -66,6 +66,8 @@ END {
for (depmod in uniqmods) {
modlist = modlist " " depmod;
}
- printf "%s:%s\n", mod, modlist >ENVIRON["MODDEP"];
+ if (modlist != "") {
+ printf "%s:%s\n", mod, modlist >ENVIRON["MODDEP"];
+ }
}
}