kbuild: do not include arch/<ARCH>/include/asm in find-sources twice.
commitde2addf592894b31b8149cca008f00d8102401e9
authorIan Campbell <ijc@hellion.org.uk>
Tue, 28 Oct 2008 13:36:25 +0000 (28 13:36 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 29 Oct 2008 21:27:17 +0000 (29 22:27 +0100)
treee3341ff1b9bea3392def8879bad68080f61aca17
parentf03b283f081f538ec71b9e87cb8411bb62e2abc9
kbuild: do not include arch/<ARCH>/include/asm in find-sources twice.

Architectures which have moved their includes to arch/<ARCH>/include
now list the headers twice in the source listing used by "make
cscope" and friends, causing those tools to list symbols twice.

Skipping these files in the ALLSOURCE_ARCHS pass rather than removing
the ALLINCLUDE_ARCHS pass preserves the semantics of the later.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile