lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Allow cscope to index multiple architectures
From
Date
On Wed, 2005-07-13 at 21:43 +0000, Sam Ravnborg wrote:
> On Thu, Jun 23, 2005 at 11:25:54AM +0100, Ian Campbell wrote:
> > Hi,
> >
> > I have a single source tree which I cross compile for a couple of
> > different architectures using ARHC=foo O=blah etc.
> >
> > The existing cscope target is very handy but only indexes the current
> > $(ARCH), which is a pain since inevitably I'm interested in the other
> > one at any given time ;-). This patch allows me to pass a list of
> > architectures for cscope to index. e.g.
> > make ALLSOURCE_ARCHS="i386 arm" cscope
> >
> > This change also works for etags etc, and I presume it is just as useful
> > there.
>
> I cannot see how it will index i386 if I do not specify ALLSOURCES_ARCHS
> (and I am running on a i386).

The patch has:

+ALLSOURCE_ARCHS := $(ARCH)

won't that do it? I thought $(ARCH) would be i386 so ALLSOURCE_ARCHS
will be too unless you override it.

I thought I'd tested non-ALLSOURCE_ARCHS but it was quite a while back
so I can't say for sure... I'll have a look when I get to work tomorrow
though.

Ian.
--
Ian Campbell

critic, n.:
A person who boasts himself hard to please because nobody tries
to please him.
-- Ambrose Bierce, "The Devil's Dictionary"
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-07-13 22:16    [W:0.195 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site