summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-08-03 23:03:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-05 17:16:02 +0100
commitacfcc85da088d634aaf685d26f8744516e3b4cf1 (patch)
tree60032c55a795138be810c99c7a53701c55e7a983 /meta/classes
parent05f8db8bf991fadeead0f520567affe845f1a94b (diff)
downloadpoky-acfcc85da088d634aaf685d26f8744516e3b4cf1.tar.gz
image-mklibs.bbclass: Utilize ${base_libdir} instead of static /lib
We might redefine ${base_libdir} from being set to just /lib. (From OE-Core rev: 7615f81f86bb5ccfe52b84b38eb9ae80a852d214) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image-mklibs.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index d6630c48db..69dac2f567 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -17,19 +17,19 @@ mklibs_optimize_image_doit() {
17 17
18 case ${TARGET_ARCH} in 18 case ${TARGET_ARCH} in
19 powerpc | mips | microblaze ) 19 powerpc | mips | microblaze )
20 dynamic_loader="/lib/ld.so.1" 20 dynamic_loader="${base_libdir}/ld.so.1"
21 ;; 21 ;;
22 powerpc64) 22 powerpc64)
23 dynamic_loader="${base_libdir}/ld64.so.1" 23 dynamic_loader="${base_libdir}/ld64.so.1"
24 ;; 24 ;;
25 x86_64) 25 x86_64)
26 dynamic_loader="/lib/ld-linux-x86-64.so.2" 26 dynamic_loader="${base_libdir}/ld-linux-x86-64.so.2"
27 ;; 27 ;;
28 i586 ) 28 i586 )
29 dynamic_loader="/lib/ld-linux.so.2" 29 dynamic_loader="${base_libdir}/ld-linux.so.2"
30 ;; 30 ;;
31 arm ) 31 arm )
32 dynamic_loader="/lib/ld-linux.so.3" 32 dynamic_loader="${base_libdir}/ld-linux.so.3"
33 ;; 33 ;;
34 * ) 34 * )
35 dynamic_loader="/unknown_dynamic_linker" 35 dynamic_loader="/unknown_dynamic_linker"