Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a53ce098 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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



Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 2fb9b1bd
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1416,8 +1416,12 @@ define find-sources
	       \( -name config -o -name 'asm-*' \) -prune \
	       -o -name $1 -print; \
	  for arch in $(ALLINCLUDE_ARCHS) ; do \
	       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) \
	       -name $1 -print; \