diff options
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | Makefile | 19 |
2 files changed, 9 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore index 73e88fb5b..be1d46199 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -42,3 +42,11 @@ core | |||
42 | /busybox.links | 42 | /busybox.links |
43 | /runtest-tempdir-links | 43 | /runtest-tempdir-links |
44 | /testsuite/echo-ne | 44 | /testsuite/echo-ne |
45 | |||
46 | # | ||
47 | # cscope output | ||
48 | # | ||
49 | cscope.files | ||
50 | cscope.in.out | ||
51 | cscope.out | ||
52 | cscope.po.out | ||
@@ -1165,24 +1165,7 @@ endif | |||
1165 | ALLSOURCE_ARCHS := $(ARCH) | 1165 | ALLSOURCE_ARCHS := $(ARCH) |
1166 | 1166 | ||
1167 | define all-sources | 1167 | define all-sources |
1168 | ( find $(__srctree) $(RCS_FIND_IGNORE) \ | 1168 | ( find -regex '.*\.[ch]$$' ) |
1169 | \( -name include -o -name arch \) -prune -o \ | ||
1170 | -name '*.[chS]' -print; \ | ||
1171 | for ARCH in $(ALLSOURCE_ARCHS) ; do \ | ||
1172 | find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \ | ||
1173 | -name '*.[chS]' -print; \ | ||
1174 | done ; \ | ||
1175 | find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \ | ||
1176 | -name '*.[chS]' -print; \ | ||
1177 | find $(__srctree)include $(RCS_FIND_IGNORE) \ | ||
1178 | \( -name config -o -name 'asm-*' \) -prune \ | ||
1179 | -o -name '*.[chS]' -print; \ | ||
1180 | for ARCH in $(ALLINCLUDE_ARCHS) ; do \ | ||
1181 | find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \ | ||
1182 | -name '*.[chS]' -print; \ | ||
1183 | done ; \ | ||
1184 | find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ | ||
1185 | -name '*.[chS]' -print ) | ||
1186 | endef | 1169 | endef |
1187 | 1170 | ||
1188 | quiet_cmd_cscope-file = FILELST cscope.files | 1171 | quiet_cmd_cscope-file = FILELST cscope.files |