lkml.org 
[lkml]   [2008]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Kbuild] How to clean a particular directory ?
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


\
 
 \ /
  Last update: 2008-01-31 10:01    [W:0.049 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site