All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: grub-devel@gnu.org
Subject: [PATCH 2/3] Don't put modules without dependencies into moddep.lst
Date: Tue, 30 Jun 2009 20:35:09 -0400	[thread overview]
Message-ID: <20090701003509.25373.35314.stgit@mj.roinet.com> (raw)
In-Reply-To: <20090701003502.25373.82948.stgit@mj.roinet.com>

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"];
+    }
   }
 }



  reply	other threads:[~2009-07-01  0:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  0:35 [PATCH 1/3] Improve genmoddep.awk Pavel Roskin
2009-07-01  0:35 ` Pavel Roskin [this message]
2009-07-01 13:10   ` [PATCH 2/3] Don't put modules without dependencies into moddep.lst Robert Millan
2009-07-01 13:20     ` Pavel Roskin
2009-07-04 20:09       ` Robert Millan
2009-07-01  0:35 ` [PATCH 3/3] Use ELF symbols without "32" or "64" Pavel Roskin
2009-07-01  3:44 ` [PATCH 1/3] Improve genmoddep.awk Bean
2009-07-01  4:51   ` Pavel Roskin
2009-07-01  5:22     ` Bean
2009-07-01 12:35       ` Pavel Roskin
2009-07-01 13:13       ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090701003509.25373.35314.stgit@mj.roinet.com \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.