aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/config
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2014-12-30 07:11:32 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-02-12 09:49:53 -0500
commitc7355f842bf84ba7b1c9d6378f85bb53c99284b2 (patch)
treedb48a0f60d838f9ac91276be1afe590b93915c9b /tools/perf/config
parent88aeea06ebd2192328c83519f07e5768681e29e7 (diff)
perf build: Add scripts objects building
Move the scripts objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Tested-by: Will Deacon <will.deacon@arm.com> Cc: Alexis Berlemont <alexis.berlemont@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-ry8pd41ahwpq9h46i8te33c7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config')
-rw-r--r--tools/perf/config/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 6b9678248694..e92d1a450867 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -518,6 +518,7 @@ else
518 else 518 else
519 LDFLAGS += $(PERL_EMBED_LDFLAGS) 519 LDFLAGS += $(PERL_EMBED_LDFLAGS)
520 EXTLIBS += $(PERL_EMBED_LIBADD) 520 EXTLIBS += $(PERL_EMBED_LIBADD)
521 $(call detected,CONFIG_LIBPERL)
521 endif 522 endif
522endif 523endif
523 524
@@ -577,6 +578,7 @@ else
577 LDFLAGS += $(PYTHON_EMBED_LDFLAGS) 578 LDFLAGS += $(PYTHON_EMBED_LDFLAGS)
578 EXTLIBS += $(PYTHON_EMBED_LIBADD) 579 EXTLIBS += $(PYTHON_EMBED_LIBADD)
579 LANG_BINDINGS += $(obj-perf)python/perf.so 580 LANG_BINDINGS += $(obj-perf)python/perf.so
581 $(call detected,CONFIG_LIBPYTHON)
580 endif 582 endif
581 endif 583 endif
582 endif 584 endif
@@ -847,3 +849,5 @@ $(call detected_var,prefix_SQ)
847$(call detected_var,perfexecdir_SQ) 849$(call detected_var,perfexecdir_SQ)
848$(call detected_var,LIBDIR) 850$(call detected_var,LIBDIR)
849$(call detected_var,GTK_CFLAGS) 851$(call detected_var,GTK_CFLAGS)
852$(call detected_var,PERL_EMBED_CCOPTS)
853$(call detected_var,PYTHON_EMBED_CCOPTS)