diff options
-rw-r--r-- | meta/conf/layer.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 0249f21d07..1c432275be 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
@@ -100,4 +100,6 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\ | |||
100 | SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native" | 100 | SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native" |
101 | 101 | ||
102 | # We need to keep bitbake tools in PATH | 102 | # We need to keep bitbake tools in PATH |
103 | PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}" | 103 | # Avoid empty path entries |
104 | BITBAKEPATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}" | ||
105 | PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' is not '' else ''}${HOSTTOOLS_DIR}" | ||