diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 4996b4235d..2ca0bd380e 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -226,6 +226,11 @@ class ORMWrapper(object): | |||
226 | value = '' | 226 | value = '' |
227 | desc = vardump[k]['doc']; | 227 | desc = vardump[k]['doc']; |
228 | if desc is None: | 228 | if desc is None: |
229 | var_words = [word for word in k.split('_')] | ||
230 | root_var = "_".join([word for word in var_words if word.isupper()]) | ||
231 | if root_var and root_var != k and root_var in vardump: | ||
232 | desc = vardump[root_var]['doc'] | ||
233 | if desc is None: | ||
229 | desc = '' | 234 | desc = '' |
230 | Variable.objects.create( build = build_obj, | 235 | Variable.objects.create( build = build_obj, |
231 | variable_name = k, | 236 | variable_name = k, |