Patchwork [v3] image-mklibs.bbclass: Add powerpc64 arch support

login
register
mail settings
Submitter Kumar Gala
Date Aug. 4, 2011, 4:03 a.m.
Message ID <1312430594-5605-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/9289/
State New, archived
Headers show

Comments

Kumar Gala - Aug. 4, 2011, 4:03 a.m.
powerp64 dynamic loader is 'ld64.so.1'.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
v2: 
* Use correct name of ppc64 dynamic loader
* user ${baselib} so if we are /lib or /lib64 things work

v3:
* use base_libdir instead of baselib

 meta/classes/image-mklibs.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index 9f5a4ea..d6630c4 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -19,6 +19,9 @@  mklibs_optimize_image_doit() {
 		powerpc | mips | microblaze )
 			dynamic_loader="/lib/ld.so.1"
 			;;
+		powerpc64)
+			dynamic_loader="${base_libdir}/ld64.so.1"
+			;;
 		x86_64)
 			dynamic_loader="/lib/ld-linux-x86-64.so.2"
 			;;