From patchwork Fri May 18 20:22:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixin Zhang X-Patchwork-Id: 916004 X-Patchwork-Delegate: petr.vorel@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40nD5z6ftbz9s19 for ; Fri, 18 May 2018 13:23:35 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 48F2F3E64E3 for ; Fri, 18 May 2018 05:23:32 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) by picard.linux.it (Postfix) with ESMTP id 672E03E64D0 for ; Fri, 18 May 2018 05:23:28 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 61BC5200066 for ; Fri, 18 May 2018 05:23:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2018 20:23:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,413,1520924400"; d="scan'208";a="225223849" Received: from yixin-desktop.sh.intel.com ([10.239.161.27]) by orsmga005.jf.intel.com with ESMTP; 17 May 2018 20:23:20 -0700 From: Yixin Zhang To: ltp@lists.linux.it Date: Sat, 19 May 2018 04:22:08 +0800 Message-Id: <20180518202208.5752-1-yixin.zhang@intel.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: clamav-milter 0.99.2 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=2.5 required=7.0 tests=DATE_IN_FUTURE_12_24, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-7.smtp.seeweb.it Cc: Yixin Zhang Subject: [LTP] [PATCH ltp] Add .cache.mk and *.dwo into clean target and .gitignore X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" These files are generated during build, so and them into clean target and .gitignore Signed-off-by: Yixin Zhang Tested-by: Petr Vorel --- .gitignore | 2 ++ include/mk/env_post.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a7e65633f..b838efd59 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ core .gdb_history .gdbinit lib*.a +.cache.mk +*.dwo /aclocal.m4 autom4te.cache diff --git a/include/mk/env_post.mk b/include/mk/env_post.mk index 4c57fffe4..59ebebb03 100644 --- a/include/mk/env_post.mk +++ b/include/mk/env_post.mk @@ -54,7 +54,7 @@ MAKE_TARGETS ?= $(notdir $(patsubst %.c,%,$(wildcard $(abs_srcdir)/*.c))) MAKE_TARGETS := $(filter-out $(FILTER_OUT_MAKE_TARGETS),$(MAKE_TARGETS)) -CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc +CLEAN_TARGETS += $(MAKE_TARGETS) *.o *.pyc .cache.mk .*.dwo # Majority of the files end up in testcases/bin... INSTALL_DIR ?= testcases/bin