diff options
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index 97983c9..e4a44dd 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py @@ -127,7 +127,7 @@ def resolve_file(fn, d): # Used by OpenEmbedded metadata __pkgsplit_cache__={} def vars_from_file(mypkg, d): - if not mypkg: + if not mypkg or not mypkg.endswith((".bb", ".bbappend")): return (None, None, None) if mypkg in __pkgsplit_cache__: return __pkgsplit_cache__[mypkg] |