From patchwork Mon Oct 5 14:55:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 1376829 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Qzgnolbp; dkim=temperror header.d=wdc.com header.i=@wdc.com header.a=rsa-sha256 header.s=dkim.wdc.com header.b=OavKSK5J; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C4mqJ0J45z9sTK for ; Tue, 6 Oct 2020 03:52:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=IiBCEUxtXpG0zfX7UiXtbjokirzNJY7gQva5NWZvO1k=; b=QzgnolbplpIy91Fs4ohGZ++kOt H7GsElawW257j+IB2bsSZuAiZmZ3fih1bkyc/gjZoQGiuYxg5jc+oaeSUTHe2QMo+t5B1gS1kdz/Q nQ5QFQMPQz/6vxm//pXFCJl+xdsFGVc2oTD9jcAMvz7Qz59nAIVXagmCqdZZsminvUwlrhSIuPBrM H6sbr/mRiz7QMEw6iyPFdOJWQRrb3JYNU/QQQnClwT9/uGvTWHoFzeTbl2v08Xxp/OuC2bTpOV3FA lmAcfz6f9GQ5mrufyhV2RlyYws6Gvc/esjdo/v1atw4LMVrAQJCPSjC8TDE0+ot5Ek1zDaG5SP7Bb h7Iz3hNw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPRuJ-0006BA-B9; Mon, 05 Oct 2020 14:56:07 +0000 Received: from esa4.hgst.iphmx.com ([216.71.154.42]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPRuG-0006Ag-6q for opensbi@lists.infradead.org; Mon, 05 Oct 2020 14:56:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1601909764; x=1633445764; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8hAyVAkh1FHW8QLnRJSP9aSVuuNIR6jAzUyi/2e4CLk=; b=OavKSK5JIHg04o3uNsmDaD1fAxMzmIXMcil0uqgTilBc/nwTekuqdts8 mSR17t/sCoPaFyiUXmvpqfhDActOCZbJzhULZrHaHM7bSR0boGOn2qEb5 FekgwdKTD2Trj1QGUHa3AK7uj9lZlmg8NHV0uPyyu/NPeUzU/IFhvciLR qUeQ5zsx/H5s9+oEUxTppNMfJvj/epM53GNMdWH44UBSR3fVso4n/MknS DQPRhSor4ua0+3m52Jonbp56vnB0/Fg5xAxxhSW7aHrlbw4f+2IJnS4ts W394IfsqwgbfW0qczDRvvX7EWjdHk2Jd+ODhrzLrixtw7fxieI5mD1yPD Q==; IronPort-SDR: oyn4fZpA5W4/wzDjYI3NIyMaKRZtZi9zzJZ7N1+E3n3jFAK4yi3N1/yqbs6XdU2OkW1g8xUgSP uwAvqwYalFx685yC62ubNLinfCf7IxUFohef75e2+DeFtfspD42nMWYRIPM69/HEsM7WzBoGvs qvcC9zOVSH9UnvMnB+1rmUYDUN3zEomXShCUIZNIGwZXKjso5HyZVxWOz3cHDXRfGo7Ns+Khih mRkkd9wUf+jFE5oD8oR2PR+NZGL6b13FLLFhm8Uqyz0jOA3YRNdiRz2jKTL3SZj62VWTTknA+z ZuE= X-IronPort-AV: E=Sophos;i="5.77,338,1596470400"; d="scan'208";a="148986188" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 05 Oct 2020 22:56:01 +0800 IronPort-SDR: nepoXc0qxNwBOMkeHTp84DAH3IKJ70hOnbuySSCxtCKD0CQOQlfXa08YTnXqFf/GzAq7H2wP+f j78DxMX+LBug== Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2020 07:41:54 -0700 IronPort-SDR: 6MkmzeyDxAJpZDBRVdKdydeGS1A3G3/w+D/OEY7rGr9heOFiKADzYQDNfl4JgrhQKG+Vn7/FFz gyY/40PmIi0g== WDCIronportException: Internal Received: from 4rhmyy1.hitachigst.global (HELO twashi.fujisawa.hgst.com) ([10.84.71.30]) by uls-op-cesaip02.wdc.com with ESMTP; 05 Oct 2020 07:56:01 -0700 From: Damien Le Moal To: opensbi@lists.infradead.org, Anup Patel Subject: [PATCH] makefile: fix clean directive Date: Mon, 5 Oct 2020 23:55:53 +0900 Message-Id: <20201005145553.80557-1-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201005_105604_424584_C8490821 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [216.71.154.42 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Atish Patra Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add cleaning of compiled device tree files (.dtb files). Signed-off-by: Damien Le Moal Reviewed-by: Anup Patel --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index cebb78e..2a352ef 100644 --- a/Makefile +++ b/Makefile @@ -461,6 +461,8 @@ clean: $(CMD_PREFIX)find $(build_dir) -type f -name "*.elf" -exec rm -rf {} + $(if $(V), @echo " RM $(build_dir)/*.bin") $(CMD_PREFIX)find $(build_dir) -type f -name "*.bin" -exec rm -rf {} + + $(if $(V), @echo " RM $(build_dir)/*.dtb") + $(CMD_PREFIX)find $(build_dir) -type f -name "*.dtb" -exec rm -rf {} + # Rule for "make distclean" .PHONY: distclean