summaryrefslogtreecommitdiffstats
path: root/tools/genboardscfg.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-25 12:39:42 +0900
committerTom Rini <trini@ti.com>2014-08-28 17:18:48 -0400
commit04b43f32731c1171877541050bb3f2bfeb100e3d (patch)
tree8f648e2bcf63cfad4a6ebc8aa27015152cff67af /tools/genboardscfg.py
parentdfe6f4d684ae6ef94615ff15c661a3da9560deeb (diff)
downloadtalos-obmc-uboot-04b43f32731c1171877541050bb3f2bfeb100e3d.tar.gz
talos-obmc-uboot-04b43f32731c1171877541050bb3f2bfeb100e3d.zip
tools/genboardscfg.py: ignore defconfigs starting with a dot
Kconfig in U-Boot creates a temporary file configs/.tmp_defconfig during processing "make <board>_defconfig". The temporary file might be left over for some reasons. Just in case, tools/genboardscfg.py should make sure to not read such garbage files. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/genboardscfg.py')
-rwxr-xr-xtools/genboardscfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index f179803549..31ae844012 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -411,6 +411,8 @@ def __gen_boards_cfg(jobs):
for (dirpath, dirnames, filenames) in os.walk(CONFIG_DIR):
dirpath = dirpath[len(CONFIG_DIR) + 1:]
for filename in fnmatch.filter(filenames, '*_defconfig'):
+ if fnmatch.fnmatch(filename, '.*'):
+ continue
defconfigs.append(os.path.join(dirpath, filename))
# Parse all the MAINTAINERS files
OpenPOWER on IntegriCloud