utils/checkpackagelib: CommentsMenusPackagesOrder: only apply to top-level
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 31 Jul 2019 23:02:20 +0000 (01:02 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 1 Aug 2019 07:58:15 +0000 (09:58 +0200)
commit5603406bd1289d794a336a79da4599e48fd27b2b
treeed4d7a9b52b5d81658cefd0de3321d53bdfac113
parent34e98c379f9e7e07492a26f522ae175d103e5133
utils/checkpackagelib: CommentsMenusPackagesOrder: only apply to top-level

The CommentsMenusPackagesOrder test is broken in various ways for files
other than package/Config.in and package/Config.in.host. Therefore, the
script gives bogus errors for various other Config.in files.

However, we don't really want to check those other files. Indeed, many
of them have a non-alphabetical ordering for good reasons.

Therefore, skip the check for files other than package/Config.in and
package/Config.in.host.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/251214899
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
utils/checkpackagelib/lib_config.py