Message ID | 20200811172342.508792-2-sjg@chromium.org |
---|---|
State | Accepted |
Commit | a38cc1726b65e63e77724c8bf4aa449cfe5cf21f |
Delegated to: | Tom Rini |
Headers | show |
Series | stdio: Clean up stdio.c | expand |
On Tue, Aug 11, 2020 at 11:23:34AM -0600, Simon Glass wrote: > Add a few more file extensions to the list of files that should not be > processed. This avoids unicode errors, for example. > > Signed-off-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 36361f9ed1b..9514d9a00cb 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -666,7 +666,8 @@ def cleanup_headers(configs, options): if dirpath == os.path.join('include', 'generated'): continue for filename in filenames: - if not filename.endswith(('~', '.dts', '.dtsi')): + if not filename.endswith(('~', '.dts', '.dtsi', '.bin', + '.elf')): 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':
Add a few more file extensions to the list of files that should not be processed. This avoids unicode errors, for example. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) tools/moveconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)