Skip to contentSkip to conversation

perf build: Add arch sh objects building

tip:perf/core tip-bot for Jiri Olsa 1 participant 1 message Feb 18, 2015 perf events

lore
Share & tools
lore

tip-bot for Jiri Olsa

author merge bot
#0 lore raw
Commit-ID:  61b021244b328e3cb5b08079b28e4e2742ff7656
Gitweb:     http://git.kernel.org/tip/61b021244b328e3cb5b08079b28e4e2742ff7656
Author:     Jiri Olsa <[email protected]>
AuthorDate: Tue, 30 Dec 2014 14:13:25 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 12 Feb 2015 13:21:31 -0300

perf build: Add arch sh objects building

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

---
 tools/perf/arch/sh/Build      | 1 +
 tools/perf/arch/sh/Makefile   | 1 -
 tools/perf/arch/sh/util/Build | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)
tools/perf/arch/sh/Build +1 -0
index e69de29..54afe4a 100644
@@ -0,0 +1 @@
+libperf-y += util/
tools/perf/arch/sh/Makefile +0 -1
index 15130b5..7fbca17 100644
@@ -1,4 +1,3 @@
 ifndef NO_DWARF
 PERF_HAVE_DWARF_REGS := 1
-LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
 endif
tools/perf/arch/sh/util/Build new file +1 -0
new file mode 100644
index 0000000..954e287
@@ -0,0 +1 @@
+libperf-$(CONFIG_DWARF) += dwarf-regs.o