All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] linuxloader.bbclass: Adjust mips to cover all mips/mips64
Date: Thu, 6 Oct 2016 11:55:33 -0500	[thread overview]
Message-ID: <20161006165533.40950-2-mark.hatle@windriver.com> (raw)
In-Reply-To: <20161006165533.40950-1-mark.hatle@windriver.com>

[YOCTO #10389]

Use a glob (*) to match all mips (not previously matched).  This will ensure
that the linuxloader is properly returned for mips, mipsel, mips64,
mips64el and their n32 variants.

See: https://sourceware.org/glibc/wiki/ABIList#mips for the official list
of loaders.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/classes/linuxloader.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass
index 8d85e6e..4be5503 100644
--- a/meta/classes/linuxloader.bbclass
+++ b/meta/classes/linuxloader.bbclass
@@ -1,12 +1,15 @@
 
 linuxloader () {
 	case ${TARGET_ARCH} in
-		powerpc | mips | mipsel | microblaze )
+		powerpc | microblaze )
 			dynamic_loader="${base_libdir}/ld.so.1"
 			;;
 		mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6)
 			dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1"
 			;;
+                mips* )
+			dynamic_loader="${base_libdir}/ld.so.1"
+			;;
 		powerpc64)
 			dynamic_loader="${base_libdir}/ld64.so.1"
 			;;
-- 
2.9.3



      reply	other threads:[~2016-10-06 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-06 16:55 [PATCH] Fix linuxloader reference for MIPS* Mark Hatle
2016-10-06 16:55 ` Mark Hatle [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=20161006165533.40950-2-mark.hatle@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 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.