]> code.ossystems Code Review - openembedded-core.git/commitdiff
libgloss_3.0.0.bb: Ensure ${D}${libdir} exists installing content
authorNathan Rossi <nathan@nathanrossi.com>
Fri, 21 Sep 2018 06:24:32 +0000 (06:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2018 15:15:19 +0000 (08:15 -0700)
Some targets do not populate any content into libdir, so make sure it is
created before attempting to move files/directories into it.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/newlib/libgloss_3.0.0.bb

index e412153dab03b6ab576ee0ffe888cd3b174ad071..c9ed30d9882cb084539e44072f3fbf1321d623e5 100644 (file)
@@ -18,6 +18,7 @@ do_install_prepend() {
 
 do_install_append() {
        # Move libs to default directories so they can be picked up later
+       install -d ${D}${libdir}
        mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir}
 
        # Remove original directory