mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: "Paul Mundt" <lethal@linux-sh.org>,
	"Francis Moreau" <francis.moro@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [Kbuild] How to clean a particular directory ?
Date: Thu, 31 Jan 2008 09:57:48 +0100	[thread overview]
Message-ID: <38b2ab8a0801310057y1e003c27tae24d6ffd2aadf0b@mail.gmail.com> (raw)
In-Reply-To: <20080131085408.GA14470@linux-sh.org>

On Jan 31, 2008 9:54 AM, Paul Mundt <lethal@linux-sh.org> wrote:
> Makefile says:
>
> # Use make M=dir to specify directory of external module to build
> # Old syntax make ... SUBDIRS=$PWD is still supported
> # Setting the environment variable KBUILD_EXTMOD take precedence
> ifdef SUBDIRS
>   KBUILD_EXTMOD ?= $(SUBDIRS)
> endif
> ifdef M
>   ifeq ("$(origin M)", "command line")
>     KBUILD_EXTMOD := $(M)
>   endif
> endif
>
> so M= is apparently the newfangled (and undocumented) way of doing this.
>

Good catch.

I tried "make help" to search for revelant info but didn't find anything useful.

Thanks
-- 
Francis

  reply	other threads:[~2008-01-31  8:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  8:38 Francis Moreau
2008-01-31  8:48 ` Paul Mundt
2008-01-31  8:54   ` Paul Mundt
2008-01-31  8:57     ` Francis Moreau [this message]
2008-01-31  8:56   ` Francis Moreau

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=38b2ab8a0801310057y1e003c27tae24d6ffd2aadf0b@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®