summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-11-30 12:20:40 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-19 23:53:34 +0000
commit574a45c60644eace1523a4b21083f334aa84ad2d (patch)
treed611324bd3757503a9d963ef2cae622fb71cde5a
parent1758a2e30febe2b9be11a41e1d14f0d305bf240a (diff)
downloadpoky-574a45c60644eace1523a4b21083f334aa84ad2d.tar.gz
musl: prevent errors if do_install is run more than once
(From OE-Core rev: bdd7bae339096265e887de84f718cbbcd9f7e267) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 3d4c1e0d94175f8c782e94725d365e5e1d1178c1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/musl/musl_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index 932c9a27a0..db26b4fef2 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -57,10 +57,11 @@ do_install() {
57 oe_runmake install DESTDIR='${D}' 57 oe_runmake install DESTDIR='${D}'
58 58
59 install -d ${D}${bindir} 59 install -d ${D}${bindir}
60 rm -f ${D}${bindir}/ldd
60 lnr ${D}${libdir}/libc.so ${D}${bindir}/ldd 61 lnr ${D}${libdir}/libc.so ${D}${bindir}/ldd
61 for l in crypt dl m pthread resolv rt util xnet 62 for l in crypt dl m pthread resolv rt util xnet
62 do 63 do
63 ln -s libc.so ${D}${libdir}/lib$l.so 64 ln -sf libc.so ${D}${libdir}/lib$l.so
64 done 65 done
65} 66}
66 67