Skip to contentSkip to conversation

tools/perf: Add empty Build files for architectures lacking them

PATCH Applied Ben Hutchings 3 participants 3 messages Aug 4, 2015 – Aug 7, 2015 perf events

lore
Share & tools
lore
#0 lore raw

perf currently fails to build on MIPS as there is no tools/perf/arch/mips/Build file. Adding an empty file fixes this as there are no MIPS-specific sources to build.

It looks like the same is needed for Alpha and PA-RISC, though I haven't been able to test those.

Fixes 5e8c0fb6a957 ("perf build: Add arch x86 objects building")

---

tools/perf/arch/alpha/Build new file +1 -0
@@ -0,0 +1 @@
+# empty
tools/perf/arch/mips/Build new file +1 -0
@@ -0,0 +1,1 @@
+# empty
tools/perf/arch/parisc/Build new file +1 -0
@@ -0,0 +1 @@
+# empty
Signature · 2 lines
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky
maintainer Applied
#1 lore raw

Em Tue, Aug 04, 2015 at 05:10:27PM +0100, Ben Hutchings escreveu:

Quoted 6 lines

perf currently fails to build on MIPS as there is no tools/perf/arch/mips/Build file. Adding an empty file fixes this as there are no MIPS-specific sources to build.

It looks like the same is needed for Alpha and PA-RISC, though I haven't been able to test those.

Thanks, applied.

#2 lore raw

[tip:perf/core] perf tools: Add empty Build files for architectures lacking them

In reply to Ben Hutchings
perf tools: Add empty Build files for architectures lacking them
Commit-ID:  93df8a1ed6231727c5db94a80b1a6bd5ee67cec3
Gitweb:     http://git.kernel.org/tip/93df8a1ed6231727c5db94a80b1a6bd5ee67cec3
Author:     Ben Hutchings <[email protected]>
AuthorDate: Tue, 4 Aug 2015 17:10:27 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 6 Aug 2015 16:24:15 -0300

perf tools: Add empty Build files for architectures lacking them

perf currently fails to build on MIPS as there is no tools/perf/arch/mips/Build file. Adding an empty file fixes this as there are no MIPS-specific sources to build.

It looks like the same is needed for Alpha and PA-RISC, though I haven't been able to test those.

Fixes 5e8c0fb6a957 ("perf build: Add arch x86 objects building")
Cc Peter Zijlstra <[email protected]>
---
 tools/perf/arch/alpha/Build  | 1 +
 tools/perf/arch/mips/Build   | 1 +
 tools/perf/arch/parisc/Build | 1 +
 3 files changed, 3 insertions(+)
tools/perf/arch/alpha/Build new file +1 -0
new file mode 100644
index 0000000..1bb8bf6
@@ -0,0 +1 @@
+# empty
tools/perf/arch/mips/Build new file +1 -0
new file mode 100644
index 0000000..1bb8bf6
@@ -0,0 +1 @@
+# empty
tools/perf/arch/parisc/Build new file +1 -0
new file mode 100644
index 0000000..1bb8bf6
@@ -0,0 +1 @@
+# empty