From patchwork Fri Jul 22 08:58:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 72605 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp885892qga; Fri, 22 Jul 2016 01:57:33 -0700 (PDT) X-Received: by 10.28.45.138 with SMTP id t132mr3790529wmt.70.1469177853381; Fri, 22 Jul 2016 01:57:33 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id d8si9025078wma.123.2016.07.22.01.57.33; Fri, 22 Jul 2016 01:57:33 -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 A29CEA76BE; Fri, 22 Jul 2016 10:57:24 +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 HMvnt5_VF-7F; Fri, 22 Jul 2016 10:57:24 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6526BA76C2; Fri, 22 Jul 2016 10:57:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 46388A74DB for ; Fri, 22 Jul 2016 10:57:05 +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 EQtfqQYpVERE for ; Fri, 22 Jul 2016 10:57:05 +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 5A498A759C for ; Fri, 22 Jul 2016 10:57:00 +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 u6M8uKnM001930; Fri, 22 Jul 2016 17:56:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u6M8uKnM001930 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1469177781; bh=E0HymNpoWtQ8Sfb9lXcsIGqBfz2GKDTtH2sv2JYGsI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dq/0+EeDFts6zI0XPDCLvL+lFWA4LeBd/kYqQTm0lboHR3AR4e0ITiqzmtTZHU6cz HEq19QM01Q84KDdU8AFIms/jPpHSnlTp/+MLY3CGeK2tcjd1w2HhF9jA4XWV9AZT/n yjOV9JaFApDqGtp4eC83rlbvW94uk13wCbu+UUhMm74ABDGkVwqlPdVVV2cmyOq+TU mcDoDe0nzdnlyXMznoa/R83YVWJcWwMLrN4hGZaF1jiVjtDt6wnH/jA0iZc2UXlyqd U9MVy2GcK17pvZ4wDiMG14fjeHZpPq0WxF72WZfNTpudiFd7Oba/SVES2WHFH0W6Zk zeu6DM7fYTefA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 22 Jul 2016 17:58:03 +0900 Message-Id: <1469177885-15849-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469177885-15849-1-git-send-email-yamada.masahiro@socionext.com> References: <1469177885-15849-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Joe Hershberger Subject: [U-Boot] [PATCH 1/2] 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, so do not touch files in this directory. Signed-off-by: Masahiro Yamada --- 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),