From: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
To: linux-trace-devel@vger.kernel.org
Cc: paulo.miguel.almeida.rodenas@gmail.com
Subject: [PATCH] trace-cmd: fix makefile cscope target
Date: Thu, 5 Jan 2023 12:54:20 +1300 [thread overview]
Message-ID: <Y7YRrHaV+V6v+9WZ@mail.google.com> (raw)
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 <paulo.miguel.almeida.rodenas@gmail.com>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5a350b6..8c2496c 100644
--- a/Makefile
+++ b/Makefile
@@ -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
--
2.38.1
next reply other threads:[~2023-01-04 23:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 23:54 Paulo Miguel Almeida [this message]
2023-01-05 0:58 ` [PATCH] trace-cmd: fix makefile cscope target Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y7YRrHaV+V6v+9WZ@mail.google.com \
--to=paulo.miguel.almeida.rodenas@gmail.com \
--cc=linux-trace-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).