utils/checkpackagelib: CommentsMenusPackagesOrder: append elements to arrays if needed
authorJerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Thu, 1 Aug 2019 08:02:36 +0000 (10:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 1 Aug 2019 20:48:59 +0000 (22:48 +0200)
commit83a34f77051db6980aea277a8ab8e467f68f495a
tree703fc8e91219ea801f4e5c7dac12814621d88eb5
parentc62a2829209671f4f7a209a07eca6608ebd0dfa7
utils/checkpackagelib: CommentsMenusPackagesOrder: append elements to arrays if needed

In the future, the nesting level of menus, comments and conditions may
increase. The fixed array length used now is not appropriate. Therefore,
append elements to the arrays if needed.

Also change order of variables.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/checkpackagelib/lib_config.py