aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>2019-10-05 14:22:20 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-10-07 23:39:21 +0200
commit31fc6a1fe489edbd4e4c0493ed5ca9e79840fe48 (patch)
treeb85e8d12d8e7b3f76183dd10d12175827474fc05
parent16271ec3569cf7e306a5809a6023579dbe20070c (diff)
downloadbuildroot-31fc6a1fe489edbd4e4c0493ed5ca9e79840fe48.tar.gz
buildroot-31fc6a1fe489edbd4e4c0493ed5ca9e79840fe48.tar.bz2
utils/checkpackagelib: CommentsMenusPackagesOrder: add more Config.in files to check
Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> [Arnout: remove boot/Config.in, it is not ordered correctly yet.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--utils/checkpackagelib/lib_config.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index 3a84828902..55c8589d71 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -88,8 +88,10 @@ class CommentsMenusPackagesOrder(_CheckFunction):
def check_line(self, lineno, text):
# We only want to force sorting for the top-level menus
- if self.filename not in ["package/Config.in",
- "package/Config.in.host"]:
+ if self.filename not in ["fs/Config.in",
+ "package/Config.in",
+ "package/Config.in.host",
+ "package/kodi/Config.in"]:
return
source_line = re.match(r'^\s*source ".*/([^/]*)/Config.in(.host)?"', text)