]> git.sur5r.net Git - u-boot/blobdiff - tools/genboardscfg.py
tools/genboardscfg.py: ignore defconfigs starting with a dot
[u-boot] / tools / genboardscfg.py
index f179803549a9484d34e78a1bd83ced0721d66ec0..31ae844012e172f9f46fba64bf2fec85386cef71 100755 (executable)
@@ -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