summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-11-30 12:20:40 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:19 +0000
commit6e0ce03ff7b45c4699a360826003f9650fed6693 (patch)
tree056a498f0621c9205a4a677214a37bf470941ad3 /meta
parent8162e72b06ad80116b1022f1cb4e607b07e150ab (diff)
downloadpoky-6e0ce03ff7b45c4699a360826003f9650fed6693.tar.gz
musl: prevent errors if do_install is run more than once
(From OE-Core rev: 3d4c1e0d94175f8c782e94725d365e5e1d1178c1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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