aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-06-22 15:41:13 -0400
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 16:12:33 -0400
commita53ce098a763a33311b60c53161572f5789d5594 (patch)
treeee62e94484464658adca693a934c0985b5889602
parent2fb9b1bd9dd7f4455407dc1bec74fb8ae0d3138e (diff)
kbuild: support arch/$ARCH/include for tags, cscope
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5ab2b8a138a..ad0533b9a0d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1416,7 +1416,11 @@ define find-sources
1416 \( -name config -o -name 'asm-*' \) -prune \ 1416 \( -name config -o -name 'asm-*' \) -prune \
1417 -o -name $1 -print; \ 1417 -o -name $1 -print; \
1418 for arch in $(ALLINCLUDE_ARCHS) ; do \ 1418 for arch in $(ALLINCLUDE_ARCHS) ; do \
1419 find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \ 1419 test -e $(__srctree)include/asm-$${arch} && \
1420 find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \
1421 -name $1 -print; \
1422 test -e $(__srctree)arch/$${arch}/include/asm && \
1423 find $(__srctree)arch/$${arch}/include/asm $(RCS_FIND_IGNORE) \
1420 -name $1 -print; \ 1424 -name $1 -print; \
1421 done ; \ 1425 done ; \
1422 find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ 1426 find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \