[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101001205646.GA10988@sepie.suse.cz>
Date: Fri, 1 Oct 2010 22:56:46 +0200
From: Michal Marek <mmarek@...e.cz>
To: matt mooney <mfm@...eddisk.com>
Cc: Sam Ravnborg <sam@...nborg.org>,
Randy Dunlap <rdunlap@...otime.net>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Documentation/kbuild: correct variable definitions in
makefiles.txt
On Wed, Sep 29, 2010 at 04:19:04PM -0700, matt mooney wrote:
> On 19:50 Wed 29 Sep , Sam Ravnborg wrote:
> > On Wed, Sep 29, 2010 at 05:03:29PM +0200, Michal Marek wrote:
> > > On 20.9.2010 08:33, matt mooney wrote:
> > > > Change $(src) and $(obj) definitions to state the path as absolute and
> > > > not relative.
> > >
> > > It _is_ a relative patch, AFAICS. What makes you think otherwise?
> >
> > With extenal modules $(src) and $(obj) are absolute - but in nomal
> > use they are relative.
Ah, I see. Then we should simply say "path", without any adjectives.
> > And again in normal use they are also equal. I usually say that we
> > have two just to document what is srource and what is generated.
>
> Ah, I see. Sorry, I should have looked into this more. Now you did say
> in normal use they are equal, but I thought they were also equal when
> used for an external module too.
Yes, they are, using $(src) for shipped files and $(obj) for generated
ones is just a service for the reader of the Makefile.
Michal
--
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