From patchwork Mon Jul 25 10:15:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 72703 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1064174qga; Mon, 25 Jul 2016 03:14:30 -0700 (PDT) X-Received: by 10.28.25.71 with SMTP id 68mr19278047wmz.91.1469441670831; Mon, 25 Jul 2016 03:14:30 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id b75si23379356wma.30.2016.07.25.03.14.30; Mon, 25 Jul 2016 03:14:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D7A4A7794; Mon, 25 Jul 2016 12:14:25 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m6qKyT5T2wdY; Mon, 25 Jul 2016 12:14:24 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3C782A7799; Mon, 25 Jul 2016 12:14:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D8E45A75C2 for ; Mon, 25 Jul 2016 12:14:06 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ExbcivHKjPdF for ; Mon, 25 Jul 2016 12:14:06 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id 356B7A76E9 for ; Mon, 25 Jul 2016 12:14:01 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id u6PADhxD021296; Mon, 25 Jul 2016 19:13:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u6PADhxD021296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1469441625; bh=f9DIWHIsn245OlgBthWjq0I8SVKViMaceZ8AhN2qq2M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tp7gzlPVsIWh6VoCvaII/+LbBtLQTp4XK0Tp4rPR6/HWQCwdR8r3OLc7r9DKkYi4M Yt2sSdV/mEi8iK1Yg5xgVAnUT5gHLw3fqLQ3MQmOh7XXZ5XOLCoapf6OCnBybjKXcO h0kNLkmfmLJEf3v5EUCv/Np+iOX70HJwSsaHw42kfeuLDm6Ph8k1IYjGrCJoixDZB7 Uy1TfM2tVzKifHFdy3OM1utItZZCac22WRL78IJhnj8qdhPfixaZqbQUk6Jq7T1ZoD p5xTXSXhRct/nY5+GUh8+IGnBEQcIjDUVHPxtUCoAiQLh+DRKbq7/GasCb/P0LcqR6 XDxkFQT53U8LQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 25 Jul 2016 19:15:22 +0900 Message-Id: <1469441729-5817-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469441729-5817-1-git-send-email-yamada.masahiro@socionext.com> References: <1469441729-5817-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Joe Hershberger Subject: [U-Boot] [PATCH v2 1/8] tools: moveconfig: do not cleanup headers in include/generated X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The files in include/generated are generated during build and removed by "make mrproper", so it has no point to touch them by this tool. Signed-off-by: Masahiro Yamada --- Changes in v2: None tools/moveconfig.py | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/tools/moveconfig.py b/tools/moveconfig.py index bf60dbc..b1190e2 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -371,6 +371,8 @@ def cleanup_headers(configs, dry_run): for dir in 'include', 'arch', 'board': for (dirpath, dirnames, filenames) in os.walk(dir): + if dirpath == os.path.join('include', 'generated'): + continue for filename in filenames: if not fnmatch.fnmatch(filename, '*~'): cleanup_one_header(os.path.join(dirpath, filename),