All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Banks <gnb@sgi.com>
To: Kai Germaschewski <kai@germaschewski.name>,
	Sam Ravnborg <sam@ravnborg.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] kbuild: allow multi-word $M in Makefile.modpost
Date: Tue, 10 Oct 2006 11:59:02 +1000	[thread overview]
Message-ID: <20061010015902.GZ28796@sgi.com> (raw)

Some people want to do crazy things like pass multiple directories
as the value of $(SUBDIRS) or $M.  Mostly this kinda works, except
that Makefile.modpost constructs a modpost commandline which fails
modpost's argument parsing.  This patch fixes that little wrinkle.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
---

 scripts/Makefile.modpost |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-git-20061009/scripts/Makefile.modpost
===================================================================
--- linux-git-20061009.orig/scripts/Makefile.modpost	2006-10-09 17:01:57.000000000 +1000
+++ linux-git-20061009/scripts/Makefile.modpost	2006-10-10 11:41:20.952515917 +1000
@@ -44,7 +44,7 @@ include scripts/Kbuild.include
 include scripts/Makefile.lib
 
 kernelsymfile := $(objtree)/Module.symvers
-modulesymfile := $(KBUILD_EXTMOD)/Module.symvers
+modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers
 
 # Step 1), find all modules listed in $(MODVERDIR)/
 __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))


-- 
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.

                 reply	other threads:[~2006-10-10  1:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20061010015902.GZ28796@sgi.com \
    --to=gnb@sgi.com \
    --cc=kai@germaschewski.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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.