Messages in this thread | | | Subject | Re: [PATCH] Allow cscope to index multiple architectures | From | Ian Campbell <> | Date | Wed, 13 Jul 2005 21:10:16 +0100 |
| |
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] | |