[OE-core] [PATCH] linuxloader.bbclass: Adjust mips to cover all mips/mips64

Mark Hatle mark.hatle at windriver.com
Thu Oct 6 16:55:33 UTC 2016


[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 at 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




More information about the Openembedded-core mailing list