From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932099AbbLNPS5 (ORCPT ); Mon, 14 Dec 2015 10:18:57 -0500 Received: from mail.kernel.org ([198.145.29.136]:38390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752916AbbLNPSx (ORCPT ); Mon, 14 Dec 2015 10:18:53 -0500 Date: Mon, 14 Dec 2015 12:18:46 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Josh Poimboeuf , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Namhyung Kim Subject: Re: [PATCH v3 05/17] perf build: Fix 'make clean' Message-ID: <20151214151846.GM6843@kernel.org> References: <8b1f5a5bd66a652be071d423e64aaa994254be31.1449965119.git.jpoimboe@redhat.com> <20151214101421.GF27640@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151214101421.GF27640@krava.brq.redhat.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Dec 14, 2015 at 11:14:21AM +0100, Jiri Olsa escreveu: > On Sun, Dec 13, 2015 at 10:18:05PM -0600, Josh Poimboeuf wrote: > > Add some missing files to the 'make clean' target. > > > > Reported-by: Jiri Olsa > > Acked-by: Jiri Olsa Applied. > thanks, > jirka > > > Signed-off-by: Josh Poimboeuf > > --- > > tools/perf/Makefile.perf | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > > index 929a32b..906c723 100644 > > --- a/tools/perf/Makefile.perf > > +++ b/tools/perf/Makefile.perf > > @@ -582,15 +582,16 @@ $(INSTALL_DOC_TARGETS): > > # > > config-clean: > > $(call QUIET_CLEAN, config) > > - $(Q)$(MAKE) -C $(srctree)/tools/build/feature/ clean >/dev/null > > + $(Q)$(MAKE) -C $(srctree)/tools/build/feature/ $(if $(OUTPUT),OUTPUT=$(OUTPUT)feature/,) clean >/dev/null > > > > clean: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean $(LIBBPF)-clean config-clean > > $(call QUIET_CLEAN, core-objs) $(RM) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf-with-kcore $(LANG_BINDINGS) > > - $(Q)find . -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete > > + $(Q)find $(if $(OUTPUT),$(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete > > $(Q)$(RM) $(OUTPUT).config-detected > > $(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 > > $(call QUIET_CLEAN, core-gen) $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)FEATURE-DUMP $(OUTPUT)util/*-bison* $(OUTPUT)util/*-flex* \ > > - $(OUTPUT)util/intel-pt-decoder/inat-tables.c > > + $(OUTPUT)util/intel-pt-decoder/inat-tables.c $(OUTPUT)fixdep \ > > + $(OUTPUT)tests/llvm-src-{base,kbuild,prologue}.c > > $(QUIET_SUBDIR0)Documentation $(QUIET_SUBDIR1) clean > > $(python-clean) > > > > -- > > 2.4.3 > >