All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/4] bitbake.conf: include bin dirs from BBPATH in PATH
Date: Wed, 26 Jan 2011 20:31:22 +0100	[thread overview]
Message-ID: <4D40768A.8050304@eukrea.com> (raw)
In-Reply-To: <1295363929-13246-1-git-send-email-kergoth@gmail.com>

On 18/01/2011 16:18, Chris Larson wrote:
> From: Chris Larson<chris_larson@mentor.com>
>
> Signed-off-by: Chris Larson<chris_larson@mentor.com>
Acked-by: Eric Bénard <eric@eukrea.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




      parent reply	other threads:[~2011-01-26 19:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 15:18 [PATCH 1/4] bitbake.conf: include bin dirs from BBPATH in PATH Chris Larson
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 [this message]

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=4D40768A.8050304@eukrea.com \
    --to=eric@eukrea.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.