All of
 help / color / mirror / Atom feed
* [PATCH] perf: Fix dependency for python/
@ 2013-03-24 13:37 Naohiro Aota
  2013-04-02 10:01 ` [tip:perf/core] perf python: " tip-bot for Naohiro Aota
  0 siblings, 1 reply; 2+ messages in thread
From: Naohiro Aota @ 2013-03-24 13:37 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar, Arnaldo Carvalho de Melo
  Cc: linux-kernel, trivial

python/ lacks dependency for libtraceevent.a so that it cause
the following error building python/ This patch introduce the
dependency for it.

   $ make python/
       CHK -fstack-protector-all
       CHK -Wstack-protector
       CHK -Wvolatile-register-var
       CHK bionic
       CHK libelf
       CHK libdw
       CHK libunwind
       CHK libaudit
       CHK libnewt
       CHK gtk2
       CHK perl
       CHK python
       CHK python version
       CHK libbfd
       CHK libnuma
       GEN python/
   x86_64-pc-linux-gnu-gcc: error: ../lib/traceevent/libtraceevent.a: No such file or directory
   error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
   cp: cannot stat 'python_ext_build/lib/': No such file or directory
   make: *** [python/] Error 1

Signed-off-by: Naohiro Aota <>
 tools/perf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index bb74c79..d10ccda 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
 python-clean := rm -rf $(PYTHON_EXTBUILD) $(OUTPUT)python/
 PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources)
-PYTHON_EXT_DEPS := util/python-ext-sources util/
+PYTHON_EXT_DEPS := util/python-ext-sources util/ $(LIBTRACEEVENT)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-02 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-24 13:37 [PATCH] perf: Fix dependency for python/ Naohiro Aota
2013-04-02 10:01 ` [tip:perf/core] perf python: " tip-bot for Naohiro Aota

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.