diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-10-27 17:27:34 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-01-26 14:27:33 -0700 |
commit | c1c058fc29f916c2f000bb7195f6195e271873b0 (patch) | |
tree | 801e27d9169fc1db6b37a6e21aee90ef1a62b0e4 | |
parent | 60911f259a77727839b07188f03eaff34e64de2f (diff) | |
download | openembedded-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>
-rwxr-xr-x | bin/darwin/cp (renamed from bin/cp) | 0 | ||||
-rwxr-xr-x | bin/darwin/sed (renamed from bin/sed) | 0 | ||||
-rw-r--r-- | conf/bitbake.conf | 3 | ||||
-rw-r--r-- | conf/build/Power Macintosh-darwin.conf | 2 | ||||
-rw-r--r-- | conf/build/i386-darwin.conf | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/bin/cp b/bin/darwin/cp index 0a523b7987..0a523b7987 100755 --- a/bin/cp +++ b/bin/darwin/cp diff --git a/bin/sed b/bin/darwin/sed index 352a3ca6e8..352a3ca6e8 100755 --- a/bin/sed +++ b/bin/darwin/sed 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 diff --git a/conf/build/Power Macintosh-darwin.conf b/conf/build/Power Macintosh-darwin.conf index effddbf1c9..b42051b081 100644 --- a/conf/build/Power Macintosh-darwin.conf +++ b/conf/build/Power Macintosh-darwin.conf @@ -1,4 +1,4 @@ -PATH =. "${@bb.which('${BBPATH}', 'bin')}:" +PATH =. "${@bb.which('${BBPATH}', 'bin')}/darwin:" BUILD_ARCH = "powerpc" require conf/build/darwin/utilities.inc diff --git a/conf/build/i386-darwin.conf b/conf/build/i386-darwin.conf index c9e81b9c5d..bdcb075ea7 100644 --- a/conf/build/i386-darwin.conf +++ b/conf/build/i386-darwin.conf @@ -1,4 +1,4 @@ -PATH =. "${@bb.which('${BBPATH}', 'bin')}:" +PATH =. "${@bb.which('${BBPATH}', 'bin')}/darwin:" BUILD_CC_ARCH += "-m32" require conf/build/darwin/utilities.inc |