summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-11-23 20:48:47 -0500
committerTom Rini <trini@konsulko.com>2019-11-23 20:48:47 -0500
commitc8f2fe4e670c91172540ab36700d7a8411fc6f76 (patch)
tree9bdd5b00990b9174ce72752f2feda13dbf5c0ff5 /tools/moveconfig.py
parent601c2879f8b9b20c8215858db862cde8ba65fd72 (diff)
parent16540d07fd62f97838950578008301f1639f33fb (diff)
Merge branch '2019-11-23-master-imports'
- More travis job splits - Assorted build clean-ups - Correct optimization flags for some ARMv6 platforms
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index e2ff4cfc88b..36160a39772 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -667,8 +667,11 @@ def cleanup_headers(configs, options):
if dirpath == os.path.join('include', 'generated'):
continue
for filename in filenames:
- if not fnmatch.fnmatch(filename, '*~'):
+ if not filename.endswith(('~', '.dts', '.dtsi')):
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':
+ continue
cleanup_one_header(header_path, patterns, options)
cleanup_empty_blocks(header_path, options)