trace-cmd: fix makefile cscope target
PATCH 1/1 trace-cmd: fix makefile cscope target
existing cscope target using sh pipes was broken and cscope was throwing the following error:
$ make cscope [..] cscope: no source files found
fix cscope target by writing files to be indexed into a separate file called cscope.files which cscope reads by default
Signed-off-by Paulo Miguel Almeida <[email protected]>
--- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +2 -1
@@ -485,7 +485,8 @@ TAGS: force cscope: force $(RM) cscope* - $(call find_tag_files) | cscope -b -q + $(call find_tag_files) > cscope.files + cscope -b -q -f cscope.out install_plugins_tracecmd: force $(Q)$(MAKE) -C $(src)/lib/trace-cmd/plugins install_plugins
Signature · 1 line
2.38.1
Quoted 10 lines · On Thu, 5 Jan 2023 12:54:20 +1300 Paulo Miguel Almeida…
existing cscope target using sh pipes was broken and cscope was throwing the following error:
$ make cscope [..] cscope: no source files foundfix cscope target by writing files to be indexed into a separate file called cscope.files which cscope reads by default
Thanks Paulo.
I don't use cscope, so I never tested it. In fact, I had to install it to test this patch after I applied it ;-)
Anyway, I added it to the queue.
Thanks!
-- Steve