Messages in this thread |  | | Date | Wed, 27 Sep 2000 17:52:28 +0200 | From | Christoph Hellwig <> | Subject | Re: [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/
|  |