From patchwork Thu Jun 27 17:05:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 11020105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E933314C0 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAC8326222 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEDBC286D3; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 875C1286B9 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfF0RHf (ORCPT ); Thu, 27 Jun 2019 13:07:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:54132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbfF0RHf (ORCPT ); Thu, 27 Jun 2019 13:07:35 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FA85214DA; Thu, 27 Jun 2019 17:07:34 +0000 (UTC) Received: from rostedt by gandalf.local.home with local (Exim 4.92) (envelope-from ) id 1hgXrx-0004Uz-7y; Thu, 27 Jun 2019 13:07:33 -0400 Message-Id: <20190627170733.133714152@goodmis.org> User-Agent: quilt/0.65 Date: Thu, 27 Jun 2019 13:05:55 -0400 From: Steven Rostedt To: linux-trace-devel@vger.kernel.org Cc: Yordan Karadzhov , Troy Engel Subject: [PATCH v2 2/3] kernel-shark: Have "make clean" run cmake-clean.sh References: <20190627170553.050679238@goodmis.org> MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Steven Rostedt (VMware)" A make clean should clean up the cmake files as well. Signed-off-by: Steven Rostedt (VMware) --- Makefile | 1 + kernel-shark/README | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 693f33b69b4e..c9679d42fdbd 100644 --- a/Makefile +++ b/Makefile @@ -357,6 +357,7 @@ clean: $(MAKE) -C $(src)/python clean $(MAKE) -C $(src)/tracecmd clean if [ -f $(kshark-dir)/build/Makefile ]; then $(MAKE) -C $(kshark-dir)/build clean; fi + cd $(kshark-dir)/build; ./cmake_clean.sh ##### PYTHON STUFF ##### diff --git a/kernel-shark/README b/kernel-shark/README index 7155e13b17fc..b133f1848fd2 100644 --- a/kernel-shark/README +++ b/kernel-shark/README @@ -49,7 +49,7 @@ changed by passing in "prefix" to the build. make prefix=/usr gui 2.1.1.2 Use "make clean" if you want to delete all already compiled objects. -Note, this will not clean up the files created by cmake. See section 2.1.2.4 +This will also clean up all the files created by cmake. 2.1.2 Option 2 (expert) : standalone build of KernelShark (for hackers only)