Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib
Date: Thu, 4 Aug 2011 09:56:57 -0500	[thread overview]
Message-ID: <4E3AB339.8040600@windriver.com> (raw)
In-Reply-To: <1312430603-5629-1-git-send-email-galak@kernel.crashing.org>

On 8/3/11 11:03 PM, Kumar Gala wrote:
> We might redefine ${base_libdir} from being set to just /lib.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Only tangentially related to this patch.. It doesn't appear mklibs has knowledge
of multilibs.. but I don't think anyone would use mklibs with a multilib
environment.  So something we might want to add is a warning that mklibs and
multilibs don't work together.

--Mark

> ---
>  meta/classes/image-mklibs.bbclass |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
> index d6630c4..69dac2f 100644
> --- a/meta/classes/image-mklibs.bbclass
> +++ b/meta/classes/image-mklibs.bbclass
> @@ -17,19 +17,19 @@ mklibs_optimize_image_doit() {
>  
>  	case ${TARGET_ARCH} in
>  		powerpc | mips | microblaze )
> -			dynamic_loader="/lib/ld.so.1"
> +			dynamic_loader="${base_libdir}/ld.so.1"
>  			;;
>  		powerpc64)
>  			dynamic_loader="${base_libdir}/ld64.so.1"
>  			;;
>  		x86_64)
> -			dynamic_loader="/lib/ld-linux-x86-64.so.2"
> +			dynamic_loader="${base_libdir}/ld-linux-x86-64.so.2"
>  			;;
>  		i586 )
> -			dynamic_loader="/lib/ld-linux.so.2"
> +			dynamic_loader="${base_libdir}/ld-linux.so.2"
>  			;;
>  		arm )
> -			dynamic_loader="/lib/ld-linux.so.3"
> +			dynamic_loader="${base_libdir}/ld-linux.so.3"
>  			;;
>  		* )
>  			dynamic_loader="/unknown_dynamic_linker"




  reply	other threads:[~2011-08-04 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  4:03 [PATCH] image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib Kumar Gala
2011-08-04 14:56 ` Mark Hatle [this message]
2011-08-05 21:26 ` Saul Wold

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=4E3AB339.8040600@windriver.com \
    --to=mark.hatle@windriver.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox