diff options
author | Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com> | 2023-01-05 12:54:20 +1300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-01-04 19:59:21 -0500 |
commit | 6a43c88ef5e771976099c229bac3a950ef09e48a (patch) | |
tree | 49c18416c90a0731d8dbd5c25fb2d237bb1d8487 | |
parent | f1ef79e8ef3fdfc3bd96e65bbf19a72cc127d384 (diff) | |
download | trace-cmd-6a43c88ef5e771976099c229bac3a950ef09e48a.tar.gz |
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
Link: https://lore.kernel.org/linux-trace-devel/Y7YRrHaV+V6v+9WZ@mail.google.com
Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |