diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 7a73419fa3..fc389a3e2c 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -721,6 +721,8 @@ def which(path, item, direction = 0): for p in paths: next = os.path.join(p, item) if os.path.exists(next): + if not os.path.isabs(next): + next = os.path.abspath(next) return next return ""