diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-12-29 07:52:36 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-12 09:32:32 -0500 |
commit | 72965b87c5d5d15e33c620901b46c5ca1a3d6b8b (patch) | |
tree | 5e8a7d08ba1222699227a402b3ac340032a97267 /tools/perf/config | |
parent | 6dd280cdb8a2cf53deacd6240707ec2f22222b20 (diff) |
perf build: Add bench objects building
Move bench objects building under build framework and enable perf-in.o
rule.
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-b0gxubmn3qjabaq0lune53y3@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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index ba414216e506..3e90fcab709d 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -28,6 +28,7 @@ ifeq ($(ARCH),x86) | |||
28 | CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT | 28 | CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT |
29 | ARCH_INCLUDE = ../../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memset_64.S | 29 | ARCH_INCLUDE = ../../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memset_64.S |
30 | LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 | 30 | LIBUNWIND_LIBS = -lunwind -lunwind-x86_64 |
31 | $(call detected,CONFIG_X86_64) | ||
31 | else | 32 | else |
32 | LIBUNWIND_LIBS = -lunwind -lunwind-x86 | 33 | LIBUNWIND_LIBS = -lunwind -lunwind-x86 |
33 | endif | 34 | endif |
@@ -639,6 +640,7 @@ ifndef NO_LIBNUMA | |||
639 | else | 640 | else |
640 | CFLAGS += -DHAVE_LIBNUMA_SUPPORT | 641 | CFLAGS += -DHAVE_LIBNUMA_SUPPORT |
641 | EXTLIBS += -lnuma | 642 | EXTLIBS += -lnuma |
643 | $(call detected,CONFIG_NUMA) | ||
642 | endif | 644 | endif |
643 | endif | 645 | endif |
644 | 646 | ||