[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <38b2ab8a0801310057y1e003c27tae24d6ffd2aadf0b@mail.gmail.com>
Date: Thu, 31 Jan 2008 09:57:48 +0100
From: "Francis Moreau" <francis.moro@...il.com>
To: "Paul Mundt" <lethal@...ux-sh.org>,
"Francis Moreau" <francis.moro@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [Kbuild] How to clean a particular directory ?
On Jan 31, 2008 9:54 AM, Paul Mundt <lethal@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists