From patchwork Mon Oct 30 15:33:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 117490 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2727322qgn; Mon, 30 Oct 2017 08:35:14 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TUHR+a9oYye0D57NpBgFAKtIKolfKZ/7QN38fmCmDlmS4V0WQ6IxzWlkPLYqlD6QkGtE3R X-Received: by 10.159.207.145 with SMTP id z17mr7891645plo.162.1509377714044; Mon, 30 Oct 2017 08:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509377714; cv=none; d=google.com; s=arc-20160816; b=ah0+9wVNte7A95I5eHXgs2g0jGt9dukQJzO41MaAf4YYA+OIj2zVg8fvqaOkPUkgrb jCEBW34TqnTes3XZUsiaudvb2K0cE51RSYkYRRiMpAWv4gxqjHOY5Cln7QWNnlFMy2MM psUb3Wd4+sluHW+JA0Pad1skx97Sn9i1c9NBxBn+z6myxwjTJ05x+4v9O/bj0wpQmtHG J586AGhjb36Mmy5pFcPlf96qbiBuc7jxxndn+F3K6w2i145f0bb3izFAaBebNVzG9x2R EN0+ncrOEh77XevQjTKfmftzKfAq66fVlLJzg70gZxJ7KYa1AKIh7+RqLHwJfouWPhsu MDNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=nQ2HOhEgAGRz37Be5tkjazbfDquEBMFB+08S+71Frhw=; b=1BU6P7cwTMPjoMghQDgQ3+1JJooXSDfKQ+L12T5F5SWgLWbxvaWnRnYUtiGGPAGJ72 fOGKHDTvUelaLlw5q+xCfSw+AB5W05eqpqquVAh7zT/qJYvcETYMzL/8JAR23SknT2oC QwFjMeRXJQJo6vNNx2YTtA9ahR+96hTOzEDXO3yiKBJSXuA8fcp1O3LtXzoOPFQZHvr/ P71UBhAONKCsV7uwNy+3XGXlH3kj2AOYfMKE0k61FnGBFhBXoFKuHINsjz+qSzlqJvSo 1GWq188tETbYH6e70wuaJ1wGRjTWGiDDcyzgiqmlcrPC28fB23On2WoZvKrnpPWj1Ajw TVPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=M0G0m1Dy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si4684150plt.757.2017.10.30.08.35.13; Mon, 30 Oct 2017 08:35:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=M0G0m1Dy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbdJ3PfN (ORCPT + 6 others); Mon, 30 Oct 2017 11:35:13 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:39862 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbdJ3PfM (ORCPT ); Mon, 30 Oct 2017 11:35:12 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9UFYU71017469; Tue, 31 Oct 2017 00:34:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9UFYU71017469 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1509377674; bh=6rqvMZ8GsHSO80feF8z8C327EfFrBG5zVxfWWy2MJxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M0G0m1Dyly26tBSYfLPA3lYMFFLIGSHq8Ew68uyQJLkg5xE2Ncbz65dOP221P7CQ+ 88c3RIrljizSXEQIzWyjmnU5uFKzEdz1wXO83OXQgLL1gFs9LhjI2NzSBae7ysE3re QL+LY73Ly830qCbxpHFVDOCZzS9I8epf3DfQ/Y1YU/8t2kpYxefp55K/M5rntZXzk2 7BGM7PnxWchTWhNMWx/cFHblGoDTyacAWxtbsMAiF25zhU6PxBP9lhZnUZOynGpb6d 0a0G7txKyfFRhgyJ67gOnDXcKRhqghXef3rvpHqDfX4jyB3uifz8ueNV+z+pQEZApN jF1uTTTzVBZOQ== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Rob Herring , Mark Rutland , Pantelis Antoniou , devicetree@vger.kernel.org, Masahiro Yamada , Matthias Kaehlcke , Josh Poimboeuf Subject: [PATCH 3/3] kbuild: clean up *.dtb and *.dtb.S patterns from top-level Makefile Date: Tue, 31 Oct 2017 00:33:47 +0900 Message-Id: <1509377627-11362-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509377627-11362-1-git-send-email-yamada.masahiro@socionext.com> References: <1509377627-11362-1-git-send-email-yamada.masahiro@socionext.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We need to add "clean-files" in Makfiles to clean up DT blobs, but we often miss to do so. Since there are no source files that end with .dtb or .dtb.S, so we can clean-up those files from the top-level Makefile. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Makefile b/Makefile index 63a4c0e..c577c63 100644 --- a/Makefile +++ b/Makefile @@ -1544,7 +1544,7 @@ clean: $(clean-dirs) $(call cmd,rmfiles) @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ - -o -name '*.ko.*' \ + -o -name '*.ko.*' -o -name '*.dtb' -o -name '*.dtb.S' \ -o -name '*.dwo' \ -o -name '*.su' \ -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \