aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2014-12-17 17:58:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-12-31 21:29:05 +0100
commit6c19d35f689c911b83073ab1faeffb8040c4b3d9 (patch)
tree79d44ac12af4e5b00c7057e05f1877d5394697f8 /Makefile
parentc76236fd7d980822a647914c9ff6a3fabdec2390 (diff)
downloadbusybox-w32-6c19d35f689c911b83073ab1faeffb8040c4b3d9.tar.gz
busybox-w32-6c19d35f689c911b83073ab1faeffb8040c4b3d9.tar.bz2
busybox-w32-6c19d35f689c911b83073ab1faeffb8040c4b3d9.zip
Makefile: fix cscope target
This target doesn't work with current directory layout. Just make cscope index all .c and .h files. While we're at it: add cscope output files to .gitignore. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index cd42ca37b..e0888578f 100644
--- a/Makefile
+++ b/Makefile
@@ -1165,24 +1165,7 @@ endif
1165ALLSOURCE_ARCHS := $(ARCH) 1165ALLSOURCE_ARCHS := $(ARCH)
1166 1166
1167define all-sources 1167define 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 )
1186endef 1169endef
1187 1170
1188quiet_cmd_cscope-file = FILELST cscope.files 1171quiet_cmd_cscope-file = FILELST cscope.files