diff options
Diffstat (limited to 'meta/lib/oe')
| -rw-r--r-- | meta/lib/oe/recipeutils.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index e7dd8afb08..a0d78dde46 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
| @@ -400,8 +400,16 @@ def get_recipe_local_files(d, patches=False): | |||
| 400 | bb.utils.exec_flat_python_func('patch_path', uri, fetch, '')): | 400 | bb.utils.exec_flat_python_func('patch_path', uri, fetch, '')): |
| 401 | continue | 401 | continue |
| 402 | # Skip files that are referenced by absolute path | 402 | # Skip files that are referenced by absolute path |
| 403 | if not os.path.isabs(fetch.ud[uri].basepath): | 403 | fname = fetch.ud[uri].basepath |
| 404 | ret[fetch.ud[uri].basepath] = fetch.localpath(uri) | 404 | if os.path.isabs(fname): |
| 405 | continue | ||
| 406 | # Handle subdir= | ||
| 407 | subdir = fetch.ud[uri].parm.get('subdir', '') | ||
| 408 | if subdir: | ||
| 409 | if os.path.isabs(subdir): | ||
| 410 | continue | ||
| 411 | fname = os.path.join(subdir, fname) | ||
| 412 | ret[fname] = fetch.localpath(uri) | ||
| 405 | return ret | 413 | return ret |
| 406 | 414 | ||
| 407 | 415 | ||
