summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-mklibs.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-22 14:49:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 17:58:59 +0100
commit516697bed676a4567a4ff93022b9ac592648619a (patch)
tree56225b5efd37255636d4180bd18743335d7478a1 /meta/classes/image-mklibs.bbclass
parent7b23f6124bf40c8c9beb4a46b1477728c90d65ab (diff)
downloadpoky-516697bed676a4567a4ff93022b9ac592648619a.tar.gz
linuxloader: Convert to python function
We could do with one decent general purpose python function to query the path to the dynamic loader. Convert the shell code into python. Also correct baremetal to return "None", not musl loaders. (From OE-Core rev: 73fab4ede12d8ae31be72b5cb4ab29d7ef7dae17) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-mklibs.bbclass')
-rw-r--r--meta/classes/image-mklibs.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index 5f6df1b17f..68e11d4365 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -19,7 +19,7 @@ mklibs_optimize_image_doit() {
19 echo $i 19 echo $i
20 done > ${WORKDIR}/mklibs/executables.list 20 done > ${WORKDIR}/mklibs/executables.list
21 21
22 dynamic_loader=$(linuxloader) 22 dynamic_loader=${@get_linuxloader(d)}
23 23
24 mklibs -v \ 24 mklibs -v \
25 --ldlib ${dynamic_loader} \ 25 --ldlib ${dynamic_loader} \