summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55d0a98dc6..b3e2c7dc7a 100644
--- a/Makefile
+++ b/Makefile
@@ -2740,8 +2740,8 @@ tags: $(FOUND_SOURCE_FILES)
mv tags+ tags
cscope.out: $(FOUND_SOURCE_FILES)
- $(QUIET_GEN)$(RM) cscope* && \
- echo $(FOUND_SOURCE_FILES) | xargs cscope -b
+ $(QUIET_GEN)$(RM) $@ && \
+ echo $(FOUND_SOURCE_FILES) | xargs cscope -f$@ -b
.PHONY: cscope
cscope: cscope.out