diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/recipeutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 119a68821b..8918facb5b 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
@@ -398,6 +398,8 @@ def validate_pn(pn): | |||
398 | return 'Recipe name "%s" is invalid: is a reserved keyword' % pn | 398 | return 'Recipe name "%s" is invalid: is a reserved keyword' % pn |
399 | elif pn.startswith('pn-'): | 399 | elif pn.startswith('pn-'): |
400 | return 'Recipe name "%s" is invalid: names starting with "pn-" are reserved' % pn | 400 | return 'Recipe name "%s" is invalid: names starting with "pn-" are reserved' % pn |
401 | elif pn.endswith(('.bb', '.bbappend', '.bbclass', '.inc', '.conf')): | ||
402 | return 'Recipe name "%s" is invalid: should be just a name, not a file name' % pn | ||
401 | return '' | 403 | return '' |
402 | 404 | ||
403 | 405 | ||