From 7d26874efa16338c350ff0d3f41a47036ce0508b Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 13 Jul 2015 00:12:02 +0000 Subject: [PATCH] Update perf clean rule for 4.1; it now creates a file in the source directory svn path=/dists/trunk/linux-tools/; revision=22830 --- debian/build/tools/perf/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/build/tools/perf/Makefile b/debian/build/tools/perf/Makefile index bcf921085..968f4ec5d 100644 --- a/debian/build/tools/perf/Makefile +++ b/debian/build/tools/perf/Makefile @@ -68,4 +68,8 @@ ifdef KERNEL_ARCH_PERF endif clean: +ifdef KERNEL_ARCH_PERF + mkdir -p out + +$(MAKE_PERF) -C $(top_srcdir)/tools/perf -f Makefile.perf O=$(CURDIR)/out clean rm -rf out +endif