aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-27 17:27:34 -0700
committerChris Larson <chris_larson@mentor.com>2011-01-26 14:27:33 -0700
commitc1c058fc29f916c2f000bb7195f6195e271873b0 (patch)
tree801e27d9169fc1db6b37a6e21aee90ef1a62b0e4 /conf/bitbake.conf
parent60911f259a77727839b07188f03eaff34e64de2f (diff)
downloadopenembedded-c1c058fc29f916c2f000bb7195f6195e271873b0.tar.gz
bitbake.conf: include bin dirs from BBPATH in PATH
Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Eric BĂ©nard <eric@eukrea.com>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index ad2e721c77..1baecc10cf 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -448,7 +448,8 @@ EXTRA_IMAGEDEPENDS = ""
LIBTOOL_HAS_SYSROOT ?= "no"
LIBTOOL_HAS_SYSROOT[type] = "boolean"
-PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:"
+BBPATH_BIN = "${@':'.join('%s/bin' % path for path in '${BBPATH}'.split(':'))}"
+PATH_prepend = "${BBPATH_BIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:"
PATH[type] = "list"
PATH[separator] = ":"
export PATH