All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] binconfig: improve handling of empty prefixes
Date: Thu, 02 Jun 2011 17:06:26 -0700	[thread overview]
Message-ID: <4DE82582.3050504@linux.intel.com> (raw)
In-Reply-To: <1306857982.2529.13.camel@phil-desktop>

On 05/31/2011 09:06 AM, Phil Blundell wrote:
> This is a backport of 952e5e2b7a5c1deefc939594d40b81a71fb16a54 from oe master.
>
> Without this the script mangling goes very wrong if ${prefix}="".  There
> isn't really any way to fix this in the completely general case, but
> this patch does work with the two cases I tested (freetype and
> gpg-error) which were unusable previously.
>
> Signed-off-by: Phil Blundell<philb@gnu.org>
> ---
>   meta/classes/binconfig.bbclass |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
> index 8e22d2d..3deb541 100644
> --- a/meta/classes/binconfig.bbclass
> +++ b/meta/classes/binconfig.bbclass
> @@ -6,8 +6,8 @@ def get_binconfig_mangle(d):
>   		s += " -e 's:=%s${libdir}:=\\1OELIBDIR:;'" % optional_quote
>   		s += " -e 's:=%s${includedir}:=\\1OEINCDIR:;'" % optional_quote
>   		s += " -e 's:=%s${datadir}:=\\1OEDATADIR:'" % optional_quote
> -		s += " -e 's:=%s${prefix}:=\\1OEPREFIX:'" % optional_quote
> -		s += " -e 's:=%s${exec_prefix}:=\\1OEEXECPREFIX:'" % optional_quote
> +		s += " -e 's:=%s${prefix}/:=\\1OEPREFIX/:'" % optional_quote
> +		s += " -e 's:=%s${exec_prefix}/:=\\1OEEXECPREFIX/:'" % optional_quote
>   		s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
>   		s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
>   		s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
Merged into OE-Core

Thanks
	Sau!



      reply	other threads:[~2011-06-03  0:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31 16:06 [PATCH] binconfig: improve handling of empty prefixes Phil Blundell
2011-06-03  0:06 ` Saul Wold [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=4DE82582.3050504@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@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.