From: Masahiro Yamada Date: Mon, 25 Aug 2014 03:39:42 +0000 (+0900) Subject: tools/genboardscfg.py: ignore defconfigs starting with a dot X-Git-Tag: v2014.10-rc2~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04b43f32731c1171877541050bb3f2bfeb100e3d;p=u-boot tools/genboardscfg.py: ignore defconfigs starting with a dot Kconfig in U-Boot creates a temporary file configs/.tmp_defconfig during processing "make _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 Acked-by: Simon Glass --- 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