summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-04-28 05:26:51 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-04-28 05:29:45 +0400
commit18acde52b83bd1c8e1d007db519f46d344aa13ed (patch)
tree0694838c8f42decc650eafe7865656599e762858 /tools
parentcbf6968098f89d3216d074f06544b5032b344da4 (diff)
downloadlinux-18acde52b83bd1c8e1d007db519f46d344aa13ed.tar.xz
perf tools: Create $(OUTPUT)arch/$(ARCH)/util/ directory
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 3ac6b677becd..b86f2ad165ad 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.
#