Commit-ID:  f6ff0e6d7bf41e8464b4a50ba48e0e1502ef8438
Gitweb:     http://git.kernel.org/tip/f6ff0e6d7bf41e8464b4a50ba48e0e1502ef8438
Author:     Jiri Olsa <[email protected]>
AuthorDate: Tue, 30 Dec 2014 14:07:04 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 12 Feb 2015 13:13:01 -0300

perf build: Add arch arm objects building

Move the arm arch objects building under build framework to be included
in the libperf build object.

Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Sukadev Bhattiprolu <[email protected]>
Tested-by: Will Deacon <[email protected]>
Cc: Alexis Berlemont <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/arch/arm/Build                |  2 ++
 tools/perf/arch/arm/Makefile             | 11 -----------
 tools/perf/arch/{x86 => arm}/tests/Build |  0
 tools/perf/arch/{x86 => arm}/util/Build  |  4 ----
 4 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/tools/perf/arch/arm/Build b/tools/perf/arch/arm/Build
index e69de29..41bf61d 100644
--- a/tools/perf/arch/arm/Build
+++ b/tools/perf/arch/arm/Build
@@ -0,0 +1,2 @@
+libperf-y += util/
+libperf-$(CONFIG_DWARF_UNWIND) += tests/
diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
index 09d6215..7fbca17 100644
--- a/tools/perf/arch/arm/Makefile
+++ b/tools/perf/arch/arm/Makefile
@@ -1,14 +1,3 @@
 ifndef NO_DWARF
 PERF_HAVE_DWARF_REGS := 1
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
-endif
-ifndef NO_LIBUNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libunwind.o
-endif
-ifndef NO_LIBDW_DWARF_UNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind-libdw.o
-endif
-ifndef NO_DWARF_UNWIND
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/regs_load.o
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/tests/dwarf-unwind.o
 endif
diff --git a/tools/perf/arch/x86/tests/Build b/tools/perf/arch/arm/tests/Build
similarity index 100%
copy from tools/perf/arch/x86/tests/Build
copy to tools/perf/arch/arm/tests/Build
diff --git a/tools/perf/arch/x86/util/Build b/tools/perf/arch/arm/util/Build
similarity index 70%
copy from tools/perf/arch/x86/util/Build
copy to tools/perf/arch/arm/util/Build
index cfbccc4..d22e3d0 100644
--- a/tools/perf/arch/x86/util/Build
+++ b/tools/perf/arch/arm/util/Build
@@ -1,7 +1,3 @@
-libperf-y += header.o
-libperf-y += tsc.o
-libperf-y += kvm-stat.o
-
 libperf-$(CONFIG_DWARF) += dwarf-regs.o
 
 libperf-$(CONFIG_LIBUNWIND)          += unwind-libunwind.o
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to