Some targets do not populate any content into libdir, so make sure it is
created before attempting to move files/directories into it.
(From OE-Core rev:
f8d7394f314041de7bcbf06ccb6405f64c68fad0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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