Makefile: Change the behavior of target "cscope"

Make the "make cscope" only generate cscope index, not call the cscope.

Also fix a typo:
        cscope_out --> cscope.out

Acked-by: Kazuhito Hagio <k-hagio-ab@nec.com>
Signed-off-by: Huang Shijie <shijie@os.amperecomputing.com>
This commit is contained in:
Huang Shijie 2022-02-24 10:23:56 +00:00 committed by Lianbo Jiang
parent c1f45f89dc
commit 8f19ddea50

View File

@ -639,10 +639,10 @@ ref:
$(MAKE) ctags cscope
cscope:
rm -f cscope.files cscope_out
rm -f cscope.files cscope.out
for FILE in ${SOURCE_FILES}; do \
echo $$FILE >> cscope.files; done
cscope
cscope -b -f cscope.out
glink: make_configure
@./configure -q -b