Commit a53ce098 authored by Sam Ravnborg's avatar Sam Ravnborg

kbuild: support arch/$ARCH/include for tags, cscope

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 2fb9b1bd
...@@ -1416,7 +1416,11 @@ define find-sources ...@@ -1416,7 +1416,11 @@ define find-sources
\( -name config -o -name 'asm-*' \) -prune \ \( -name config -o -name 'asm-*' \) -prune \
-o -name $1 -print; \ -o -name $1 -print; \
for arch in $(ALLINCLUDE_ARCHS) ; do \ for arch in $(ALLINCLUDE_ARCHS) ; do \
find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \ test -e $(__srctree)include/asm-$${arch} && \
find $(__srctree)include/asm-$${arch} $(RCS_FIND_IGNORE) \
-name $1 -print; \
test -e $(__srctree)arch/$${arch}/include/asm && \
find $(__srctree)arch/$${arch}/include/asm $(RCS_FIND_IGNORE) \
-name $1 -print; \ -name $1 -print; \
done ; \ done ; \
find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment