From: Jerzy Grzegorek Date: Sat, 5 Oct 2019 12:22:20 +0000 (+0200) Subject: utils/checkpackagelib: CommentsMenusPackagesOrder: add more Config.in files to check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31fc6a1fe489edbd4e4c0493ed5ca9e79840fe48;p=buildroot.git utils/checkpackagelib: CommentsMenusPackagesOrder: add more Config.in files to check Signed-off-by: Jerzy Grzegorek Cc: Ricardo Martincoski Reviewed-by: Ricardo Martincoski [Arnout: remove boot/Config.in, it is not ordered correctly yet.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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)