From: Arnaldo Carvalho de Melo Date: Wed, 28 Apr 2010 01:26:51 +0000 (-0300) Subject: perf tools: Create $(OUTPUT)arch/$(ARCH)/util/ directory X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=18acde52b83bd1c8e1d007db519f46d344aa13ed;p=deliverable%2Flinux.git 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 Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- 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. #