From: Tom Zanussi <tzanussi@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu, fweisbec@gmail.com, rostedt@goodmis.org,
anton@samba.org, hch@infradead.org
Subject: [PATCH 1/4] perf trace/scripting: silence PERL_EMBED_* backtick errors
Date: Mon, 30 Nov 2009 01:18:46 -0600 [thread overview]
Message-ID: <1259565529-6407-2-git-send-email-tzanussi@gmail.com> (raw)
In-Reply-To: <1259565529-6407-1-git-send-email-tzanussi@gmail.com>
The backtick shell substitutions for PERL_EMBED_LDOPT/CCOPT make a lot
of noise on stderr if Embed.pm isn't installed - this silences them.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
---
tools/perf/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 8ad57b5..d62a2d7 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -490,8 +490,8 @@ else
LIB_OBJS += util/probe-finder.o
endif
-PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts`
-PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts`
+PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null`
+PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null`
ifneq ($(shell sh -c "(echo '\#include <EXTERN.h>'; echo '\#include <perl.h>'; echo 'int main(void) { perl_alloc(); return 0; }') | $(CC) -x c - $(PERL_EMBED_CCOPTS) -o /dev/null $(PERL_EMBED_LDOPTS) > /dev/null 2>&1 && echo y"), y)
BASIC_CFLAGS += -DNO_LIBPERL
--
1.6.4.GIT
next prev parent reply other threads:[~2009-11-30 7:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 7:18 [PATCH 0/4] Fixes for perf/scripting Tom Zanussi
2009-11-30 7:18 ` Tom Zanussi [this message]
2009-11-30 8:23 ` [tip:perf/scripting] perf trace/scripting: Silence PERL_EMBED_* backtick errors tip-bot for Tom Zanussi
2009-11-30 7:18 ` [PATCH 2/4] perf trace/scripting: ignore shadowed variable warning for perf-trace-perl.c Tom Zanussi
2009-11-30 8:23 ` [tip:perf/scripting] perf trace/scripting: Ignore " tip-bot for Tom Zanussi
2009-11-30 7:18 ` [PATCH 3/4] perf trace/scripting: fix Perl common_* access functions Tom Zanussi
2009-11-30 8:24 ` [tip:perf/scripting] perf trace/scripting: Fix " tip-bot for Tom Zanussi
2009-11-30 7:18 ` [PATCH 4/4] perf trace/scripting: Add Fedora libperl install note to doc Tom Zanussi
2009-11-30 8:24 ` [tip:perf/scripting] " tip-bot for Tom Zanussi
2009-11-30 8:19 ` [PATCH 0/4] Fixes for perf/scripting Ingo Molnar
2009-12-01 5:30 ` Tom Zanussi
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=1259565529-6407-2-git-send-email-tzanussi@gmail.com \
--to=tzanussi@gmail.com \
--cc=anton@samba.org \
--cc=fweisbec@gmail.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.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
Powered by JetHome