mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -19,7 +19,7 @@ mklibs_optimize_image_doit() {
|
||||
echo $i
|
||||
done > ${WORKDIR}/mklibs/executables.list
|
||||
|
||||
dynamic_loader=$(linuxloader)
|
||||
dynamic_loader=${@get_linuxloader(d)}
|
||||
|
||||
mklibs -v \
|
||||
--ldlib ${dynamic_loader} \
|
||||
|
||||
Reference in New Issue
Block a user