From: Chris Larson <kergoth@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Chris Larson <chris_larson@mentor.com>
Subject: [PATCH 1/4] bitbake.conf: include bin dirs from BBPATH in PATH
Date: Tue, 18 Jan 2011 08:18:46 -0700 [thread overview]
Message-ID: <1295363929-13246-1-git-send-email-kergoth@gmail.com> (raw)
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
bin/{ => darwin}/cp | 0
bin/{ => darwin}/sed | 0
conf/bitbake.conf | 5 +++--
conf/build/Power Macintosh-darwin.conf | 2 +-
conf/build/i386-darwin.conf | 2 +-
5 files changed, 5 insertions(+), 4 deletions(-)
rename bin/{ => darwin}/cp (100%)
rename bin/{ => darwin}/sed (100%)
diff --git a/bin/cp b/bin/darwin/cp
similarity index 100%
rename from bin/cp
rename to bin/darwin/cp
diff --git a/bin/sed b/bin/darwin/sed
similarity index 100%
rename from bin/sed
rename to bin/darwin/sed
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index f1dc0ff..d03d7e3 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -421,8 +421,9 @@ EXTRA_IMAGEDEPENDS = ""
LIBTOOL_HAS_SYSROOT ?= "no"
-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}:"
-export PATH
+BBPATH_BIN = "${@':'.join('%s/bin' % path for path in '${BBPATH}'.split(':'))}"
+PATH =. "${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[export] = "1"
##################################################################
# Build utility info.
diff --git a/conf/build/Power Macintosh-darwin.conf b/conf/build/Power Macintosh-darwin.conf
index effddbf..b42051b 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 c9e81b9..bdcb075 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
--
1.7.2.3
next reply other threads:[~2011-01-18 15:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 15:18 Chris Larson [this message]
2011-01-18 15:18 ` [PATCH 2/4] Move stage-manager-* into bin/ rather than a recipe Chris Larson
2011-01-18 20:35 ` Khem Raj
2011-01-26 19:31 ` Eric Bénard
2011-01-18 15:18 ` [PATCH 3/4] Add install wrapper rather than coreutils-native Chris Larson
2011-01-18 20:36 ` Khem Raj
2011-01-26 19:31 ` Eric Bénard
2011-01-18 15:18 ` [PATCH 4/4] bin/install: implement -D internally Chris Larson
2011-01-18 16:55 ` Tom Rini
2011-01-18 20:37 ` Khem Raj
2011-01-26 19:31 ` Eric Bénard
2011-01-26 20:26 ` Bernhard Reutner-Fischer
2011-01-18 20:35 ` [PATCH 1/4] bitbake.conf: include bin dirs from BBPATH in PATH Khem Raj
2011-01-26 19:31 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1295363929-13246-1-git-send-email-kergoth@gmail.com \
--to=kergoth@gmail.com \
--cc=chris_larson@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.