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: 6636811 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3DD4EC0020 for ; Thu, 18 Jun 2015 12:52:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5ECB420827 for ; Thu, 18 Jun 2015 12:52:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EC432082F for ; Thu, 18 Jun 2015 12:52:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755056AbbFRMw3 (ORCPT ); Thu, 18 Jun 2015 08:52:29 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:33366 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755153AbbFRMwY (ORCPT ); Thu, 18 Jun 2015 08:52:24 -0400 Received: by lbbvz5 with SMTP id vz5so3492405lbb.0 for ; Thu, 18 Jun 2015 05:52:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Bkq39cvxP4nmhC6IMLNycFxXW+6qLrwj9C0VWu1gU8I=; b=FSsMEK34dqhe2hqIUZppF2U2X5MvqU/UhIePOOnLeRFaQGSz2nXCpY2lJSuvLuupX9 3/DGUSJAop0NGKlR+WV2aqmOKc9N2b1o5Qnkq7JEM1a1BkbAYbmSlgImwAEdWe2hGirp 9wM8o9d17h5mqw6oI64n871nYx2KM5e6fzVQdtA9Xn7mJZzd68pGVKSTXpj3YN0hyRe9 dK5A9bMlZ+GUJ6HoKi1Ob28vPJmhsJC0GjcaDgFlF8pcjN5y4w9Mz/MsrAP2Dx9JKyEt SJ+g3e6KvjsKkAKnw3LF3s5r3/kR6vY0RzabLjHwPM0ycPHVX6KvYoVeMAWaSW/5kLjA G5fQ== X-Gm-Message-State: ALoCoQlGZKZMIdS2lw6VNwpDW8NEEF6EtqFH4+k7JlGycIIEApprIZWTqPOgl2PnKJgaloc03kv7 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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