diff options
Diffstat (limited to 'support/scripts/gen-manual-lists.py')
-rw-r--r-- | support/scripts/gen-manual-lists.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py index 4562d7e2ce..94f403e0c2 100644 --- a/support/scripts/gen-manual-lists.py +++ b/support/scripts/gen-manual-lists.py @@ -234,7 +234,9 @@ class Buildroot: """ Return True if the symbol is marked as deprecated, otherwise False. """ - return self._deprecated in symbol.get_referenced_symbols() + # This also catches BR2_DEPRECATED_SINCE_xxxx_xx + return bool([ symbol for x in symbol.get_referenced_symbols() + if x.get_name().startswith(self._deprecated.get_name()) ]) def _is_package(self, symbol): """ Return True if the symbol is a package or a host package, otherwise |