From: Yann E. MORIN Date: Sat, 19 Jul 2014 13:56:10 +0000 (+0200) Subject: support/gen-manual-lists.py: bail out early for legacy symbols X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c4498082becf90246a1fdf245e41c3bf3004033;p=buildroot.git support/gen-manual-lists.py: bail out early for legacy symbols When searching for virtual package providers, there's no need to handle legacy symbols at all, so just bail out early. Signed-off-by: "Yann E. MORIN" Cc: Samuel Martin Acked-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py index 483b3847e0..95c10dcbc8 100644 --- a/support/scripts/gen-manual-lists.py +++ b/support/scripts/gen-manual-lists.py @@ -389,13 +389,13 @@ class Buildroot: for sym in self.config: if not sym.is_symbol(): continue + if _symbol_is_legacy(sym): + continue selects = sym.get_selected_symbols() if not selects: continue for s in selects: if s == symbol: - if _symbol_is_legacy(sym): - continue if sym.prompts: l = self._get_symbol_label(sym,False) parent_pkg = _get_parent_package(sym)