mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 12:54:37 +00:00
moveconfig: Skip binary and ELF files
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>
This commit is contained in:
parent
a7fc1e12ad
commit
a38cc1726b
1 changed files with 2 additions and 1 deletions
|
@ -666,7 +666,8 @@ def cleanup_headers(configs, options):
|
||||||
if dirpath == os.path.join('include', 'generated'):
|
if dirpath == os.path.join('include', 'generated'):
|
||||||
continue
|
continue
|
||||||
for filename in filenames:
|
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)
|
header_path = os.path.join(dirpath, filename)
|
||||||
# This file contains UTF-16 data and no CONFIG symbols
|
# This file contains UTF-16 data and no CONFIG symbols
|
||||||
if header_path == 'include/video_font_data.h':
|
if header_path == 'include/video_font_data.h':
|
||||||
|
|
Loading…
Add table
Reference in a new issue