mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
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>
This commit is contained in:
parent
dfe6f4d684
commit
04b43f3273
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue