aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-07-19 15:56:10 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 18:03:26 +0200
commit1c4498082becf90246a1fdf245e41c3bf3004033 (patch)
tree14447d5d0ade4055f52bf329e69bcf95167cca7d /support
parent34363f0df1da4e69ae663fc43d7c8a1a980c0bb8 (diff)
downloadbuildroot-1c4498082becf90246a1fdf245e41c3bf3004033.tar.gz
buildroot-1c4498082becf90246a1fdf245e41c3bf3004033.tar.bz2
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" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support')
-rw-r--r--support/scripts/gen-manual-lists.py4
1 files changed, 2 insertions, 2 deletions
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)