Przeglądaj źródła

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>
Arnaldo Carvalho de Melo 15 lat temu
rodzic
commit
18acde52b8
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      tools/perf/Makefile

+ 2 - 0
tools/perf/Makefile

@@ -187,6 +187,8 @@ ifeq ($(ARCH),x86_64)
         ARCH := x86
         ARCH := x86
 endif
 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.
 # CFLAGS and LDFLAGS are for the users to override from the command line.
 
 
 #
 #