]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
moveconfig.py: add to the "do not process" list
authorTrevor Woerner <twoerner@gmail.com>
Mon, 15 Mar 2021 16:01:33 +0000 (12:01 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:44:55 +0000 (17:44 -0400)
Skip the processing of *.aml and *.dat files while iterating through the
source in order to process header files.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
tools/moveconfig.py

index 1ac30c002814e5a7edfb5d7ec1289b6af3fffb18..41dd803c4ef8e368e385881f651d9e801d156cb6 100755 (executable)
@@ -679,7 +679,7 @@ def cleanup_headers(configs, options):
                 continue
             for filename in filenames:
                 if not filename.endswith(('~', '.dts', '.dtsi', '.bin',
-                                          '.elf')):
+                                          '.elf','.aml','.dat')):
                     header_path = os.path.join(dirpath, filename)
                     # This file contains UTF-16 data and no CONFIG symbols
                     if header_path == 'include/video_font_data.h':