perf tools: Create $(OUTPUT)arch/$(ARCH)/util/ directory
authorArnaldo Carvalho de Melo <[email protected]>
Wed, 28 Apr 2010 01:26:51 +0000 (22:26 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 28 Apr 2010 01:29:45 +0000 (22:29 -0300)
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 <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/Makefile

index 3ac6b677becd78e134121bf109f28078a8fad9ec..b86f2ad165ad651fc32e057c38958d3a28c09d3b 100644 (file)
@@ -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.
 
 #