[PATCH 5/5] perf tools: Create $(OUTPUT)arch/$(ARCH)/util/ directory

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaldo Carvalho de Melo
Date: Tuesday, April 27, 2010 - 6:52 pm

From: Arnaldo Carvalho de Melo <acme@redhat.com>

So that "make -C tools/perf O=/tmp/some/path" works again.

Problem introduced in:

cd932c5 "perf: Move arch specific code into separate arch director"

Cc: Ian Munsie <imunsie@au.ibm.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 3ac6b67..b86f2ad 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -187,6 +187,8 @@ ifeq ($(ARCH),x86_64)
         ARCH := x86
 endif
 
+$(shell sh -c 'mkdir -p $(OUTPUT)arch/$(ARCH)/util/' 2> /dev/null)
+
 # CFLAGS and LDFLAGS are for the users to override from the command line.
 
 #
-- 
1.6.2.5

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL] perf tools changes, Arnaldo Carvalho de Melo, (Tue Apr 27, 6:52 pm)
[PATCH 2/5] perf machine: Pass buffer size to machine__mma ..., Arnaldo Carvalho de Melo, (Tue Apr 27, 6:52 pm)
[PATCH 3/5] perf machine: Adopt some map_groups functions, Arnaldo Carvalho de Melo, (Tue Apr 27, 6:52 pm)
[PATCH 4/5] perf machines: Make the machines class adopt t ..., Arnaldo Carvalho de Melo, (Tue Apr 27, 6:52 pm)
[PATCH 5/5] perf tools: Create $(OUTPUT)arch/$(ARCH)/util/ ..., Arnaldo Carvalho de Melo, (Tue Apr 27, 6:52 pm)