|
@@ -1159,19 +1159,25 @@ else
|
|
__srctree = $(srctree)/
|
|
__srctree = $(srctree)/
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ALLSOURCE_ARCHS := $(ARCH)
|
|
|
|
+
|
|
define all-sources
|
|
define all-sources
|
|
( find $(__srctree) $(RCS_FIND_IGNORE) \
|
|
( find $(__srctree) $(RCS_FIND_IGNORE) \
|
|
\( -name include -o -name arch \) -prune -o \
|
|
\( -name include -o -name arch \) -prune -o \
|
|
-name '*.[chS]' -print; \
|
|
-name '*.[chS]' -print; \
|
|
- find $(__srctree)arch/$(ARCH) $(RCS_FIND_IGNORE) \
|
|
|
|
- -name '*.[chS]' -print; \
|
|
|
|
|
|
+ for ARCH in $(ALLSOURCE_ARCHS) ; do \
|
|
|
|
+ find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \
|
|
|
|
+ -name '*.[chS]' -print; \
|
|
|
|
+ done ; \
|
|
find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \
|
|
find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \
|
|
-name '*.[chS]' -print; \
|
|
-name '*.[chS]' -print; \
|
|
find $(__srctree)include $(RCS_FIND_IGNORE) \
|
|
find $(__srctree)include $(RCS_FIND_IGNORE) \
|
|
\( -name config -o -name 'asm-*' \) -prune \
|
|
\( -name config -o -name 'asm-*' \) -prune \
|
|
-o -name '*.[chS]' -print; \
|
|
-o -name '*.[chS]' -print; \
|
|
- find $(__srctree)include/asm-$(ARCH) $(RCS_FIND_IGNORE) \
|
|
|
|
- -name '*.[chS]' -print; \
|
|
|
|
|
|
+ for ARCH in $(ALLSOURCE_ARCHS) ; do \
|
|
|
|
+ find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \
|
|
|
|
+ -name '*.[chS]' -print; \
|
|
|
|
+ done ; \
|
|
find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
|
|
find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
|
|
-name '*.[chS]' -print )
|
|
-name '*.[chS]' -print )
|
|
endef
|
|
endef
|