From patchwork Thu Jul 9 15:45:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 50979 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6BD54213FD for ; Thu, 9 Jul 2015 15:47:06 +0000 (UTC) Received: by lbnk3 with SMTP id k3sf14391637lbn.2 for ; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=UPOcOc4e9Eij0QVn4gdweBt3n5Ya4/suPlcxbK36p9g=; b=klquk2Ml/LaIHRjNpTM40JmyTTu9faVOdxPER8feaSQ+9p3g5KDXfojBppmfXQCFHc w9EPGhp2A92Ws9CLrmmB3TsDuIG/NHLGh4uIS2nfMwaebcE2F0k6XOZedkiRm2dg9jdU xDNEXTizi93X6TnLDfqoVBL1gOzk55Wrr43ocjbhPtTUP+KTHmj09UFW1AwmocCBBih4 h6lvrUAQtfl0Otu569qhvpI5dKhRQB/df31dy6NwO91+PU3uyIqpE+tKZQmjbYtL1XPr MpNhpv2M/qYtVMDb+lCqz2B8LuagJYFcJAvQ/sY4gZZmI/ypiuNi3WAlJi9tMdHEJA29 VwrA== X-Gm-Message-State: ALoCoQmeSBbAbaw8SisxiXepqnUYW7lLcB7+08FJJNjqLeJR/8u7KjnMTmf1YIzQT+Rw8Qle0ONq X-Received: by 10.180.105.226 with SMTP id gp2mr37139462wib.1.1436456825418; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.134 with SMTP id c6ls1124847lag.54.gmail; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) X-Received: by 10.152.181.34 with SMTP id dt2mr15385249lac.84.1436456825227; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ku9si4787497lac.141.2015.07.09.08.47.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 08:47:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labgy5 with SMTP id gy5so96712082lab.2 for ; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) X-Received: by 10.112.166.106 with SMTP id zf10mr15488246lbb.36.1436456825111; Thu, 09 Jul 2015 08:47:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp749958lbb; Thu, 9 Jul 2015 08:47:04 -0700 (PDT) X-Received: by 10.66.194.201 with SMTP id hy9mr33067557pac.140.1436456819336; Thu, 09 Jul 2015 08:46:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si9866514pdi.105.2015.07.09.08.46.58; Thu, 09 Jul 2015 08:46:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753856AbbGIPqt (ORCPT + 29 others); Thu, 9 Jul 2015 11:46:49 -0400 Received: from casper.infradead.org ([85.118.1.10]:34858 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbbGIPq3 (ORCPT ); Thu, 9 Jul 2015 11:46:29 -0400 Received: from [187.65.4.217] (helo=zoo.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDE1s-0007NF-4S; Thu, 09 Jul 2015 15:46:28 +0000 Received: by zoo.ghostprotocols.net (Postfix, from userid 1000) id A618B220311; Thu, 9 Jul 2015 12:45:23 -0300 (BRT) From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Riku Voipio , Peter Zijlstra , linux-kbuild@vger.kernel.org, Arnaldo Carvalho de Melo Subject: [PATCH 3/4] tools lib: Improve clean target Date: Thu, 9 Jul 2015 12:45:20 -0300 Message-Id: <1436456721-9048-4-git-send-email-acme@kernel.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1436456721-9048-1-git-send-email-acme@kernel.org> References: <1436456721-9048-1-git-send-email-acme@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: acme@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Riku Voipio The clean targets miss some .cmd and .d files. Signed-off-by: Riku Voipio Cc: Peter Zijlstra Cc: linux-kbuild@vger.kernel.org Link: http://lkml.kernel.org/r/1434631938-12681-1-git-send-email-riku.voipio@linaro.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/lib/api/Makefile | 2 +- tools/lib/traceevent/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index 8bd960658463..fe1b02c2c95b 100644 --- a/tools/lib/api/Makefile +++ b/tools/lib/api/Makefile @@ -36,7 +36,7 @@ $(LIBFILE): $(API_IN) clean: $(call QUIET_CLEAN, libapi) $(RM) $(LIBFILE); \ - find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o | xargs $(RM) + find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o -or -name \*.o.cmd -or -name \*.o.d | xargs $(RM) FORCE: diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile index 6daaff652aff..7851df1490e0 100644 --- a/tools/lib/traceevent/Makefile +++ b/tools/lib/traceevent/Makefile @@ -268,7 +268,7 @@ install: install_lib clean: $(call QUIET_CLEAN, libtraceevent) \ - $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d \ + $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d .*.cmd \ $(RM) TRACEEVENT-CFLAGS tags TAGS PHONY += force plugins