diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-22 14:49:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-23 17:58:59 +0100 |
commit | 516697bed676a4567a4ff93022b9ac592648619a (patch) | |
tree | 56225b5efd37255636d4180bd18743335d7478a1 /meta/classes/image-mklibs.bbclass | |
parent | 7b23f6124bf40c8c9beb4a46b1477728c90d65ab (diff) | |
download | poky-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.bbclass | 2 |
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} \ |