lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] update {drivers, net, fs}/Makefile to list-style syntax
On Wed, Sep 27, 2000 at 11:15:33AM -0400, Horst von Brand wrote:
> > + Example:
> > +
> > + # fs/Makefile
> > + mod-subdirs := nls
> > +
> > + This means nls should be added to (subdir-y) and $(subdir-m) if
> ^^^
> > + CONFIG_NFS = y.
> ^^^
>
> NLS or NFS? Where is the relationship between the directory and the CONFIG
> variable?


If the expression (from fs/Makefile)

subdir-$(CONFIG_NLS) += nls

evaluates to

subdir-y += nls

and mod-subdirs contains "nls"

both-m := $(filter $(mod-subdirs), $(subdir-y))

SUB_DIRS := $(subdir-y)
MOD_SUB_DIRS := $(sort $(subdir-m) $(both-m))

will add nls to both SUB_DIRS and MOD_SUB_DIRS.

The two examples just don't belong together.

Christoph

--
Always remember that you are unique. Just like everyone else.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [from the cache]
©2003-2011 Jasper Spaans