diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-22 21:41:13 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-07-25 22:12:33 +0200 |
commit | a53ce098a763a33311b60c53161572f5789d5594 (patch) | |
tree | ee62e94484464658adca693a934c0985b5889602 /Makefile | |
parent | 2fb9b1bd9dd7f4455407dc1bec74fb8ae0d3138e (diff) | |
download | kernel_samsung_crespo-a53ce098a763a33311b60c53161572f5789d5594.zip kernel_samsung_crespo-a53ce098a763a33311b60c53161572f5789d5594.tar.gz kernel_samsung_crespo-a53ce098a763a33311b60c53161572f5789d5594.tar.bz2 |
kbuild: support arch/$ARCH/include for tags, cscope
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1416,7 +1416,11 @@ define find-sources \( -name config -o -name 'asm-*' \) -prune \ -o -name $1 -print; \ 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; \ done ; \ find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ |