utils/checkpackagelib: CommentsMenusPackagesOrder: add more Config.in files to check
authorJerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Sat, 5 Oct 2019 12:22:20 +0000 (14:22 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 7 Oct 2019 21:39:21 +0000 (23:39 +0200)
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>
utils/checkpackagelib/lib_config.py

index 3a8482890279b2ab9565723c5d39bb038379215f..55c8589d71058fbc2b636fb74b2a7548442a65a4 100644 (file)
@@ -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)