From patchwork Thu Jun 18 12:52:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 50044 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0878C22903 for ; Thu, 18 Jun 2015 12:52:47 +0000 (UTC) Received: by lbbti3 with SMTP id ti3sf20386956lbb.1 for ; Thu, 18 Jun 2015 05:52:46 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=Bey/JqithblCIKJy7eFfW8oVsNc9o5zRLO26II1K8Z4=; b=PnauideV1ijM5XTdnf0uOn8BH2ZfQFdLSJzd3ENYn84pnpYoKn+kVqx6VRpt250Z0A Lqj4cC5MvIfoc7HWmS7i8wgSXKFkOKbu3N/ANzZShV1iwlmHUhUwL3KjK5FgKiqU5Y5w eqkDyOfHjevKN7JaKNCSPjkX30odBPC+FCNqkO7d3vlhdB+qE3gtsp8f4mAndMBN5Uzq 9rGjGub+Kg7dKdz5fla4Yd4FVTBiWzH7zhGWI0Ye8sZe4Lxr5/AJBuyxIW7Qtx9DitmY lcGlzDWeillGpZ54iOt371EzO2XjLkwplDATKjrP2UB3c91cdAIgtareloZ8OhLrFGtm A1/Q== X-Gm-Message-State: ALoCoQkk+9rVUJI+PbbY6pk+Aam94WHoi36e3QNjhqPVqLm9VxtnDkX7FMXRfqyCtotoSEw8UMFK X-Received: by 10.180.182.49 with SMTP id eb17mr24619748wic.2.1434631966026; Thu, 18 Jun 2015 05:52:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.105 with SMTP id lb9ls459834lab.10.gmail; Thu, 18 Jun 2015 05:52:45 -0700 (PDT) X-Received: by 10.112.105.104 with SMTP id gl8mr12915055lbb.81.1434631965822; Thu, 18 Jun 2015 05:52:45 -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 y10si6378273lal.136.2015.06.18.05.52.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 05:52:45 -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 labko7 with SMTP id ko7so53812864lab.2 for ; Thu, 18 Jun 2015 05:52:45 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr12662977lbb.29.1434631965694; Thu, 18 Jun 2015 05:52:45 -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 hn6csp1161941lbb; Thu, 18 Jun 2015 05:52:44 -0700 (PDT) X-Received: by 10.68.101.65 with SMTP id fe1mr21147859pbb.40.1434631963952; Thu, 18 Jun 2015 05:52:43 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si11224498pbs.98.2015.06.18.05.52.42; Thu, 18 Jun 2015 05:52:43 -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 S1755263AbbFRMwh (ORCPT + 30 others); Thu, 18 Jun 2015 08:52:37 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:36139 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159AbbFRMwY (ORCPT ); Thu, 18 Jun 2015 08:52:24 -0400 Received: by lbbqq2 with SMTP id qq2so51561675lbb.3 for ; Thu, 18 Jun 2015 05:52:22 -0700 (PDT) X-Received: by 10.112.134.167 with SMTP id pl7mr12813058lbb.50.1434631942729; Thu, 18 Jun 2015 05:52:22 -0700 (PDT) Received: from beaming.home (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by mx.google.com with ESMTPSA id ap8sm1737354lac.4.2015.06.18.05.52.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jun 2015 05:52:22 -0700 (PDT) From: riku.voipio@linaro.org To: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Cc: acme@kernel.org, mingo@redhat.com, a.p.zijlstra@chello.nl, Riku Voipio Subject: [PATCH] tools/lib: improve clean target Date: Thu, 18 Jun 2015 15:52:18 +0300 Message-Id: <1434631938-12681-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 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: riku.voipio@linaro.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 --- 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 8bd9606..fe1b02c 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 6daaff6..7851df1 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