summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2018-09-21 06:24:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-21 08:15:19 -0700
commitf8d7394f314041de7bcbf06ccb6405f64c68fad0 (patch)
tree495f9bf30f6a66901f20fcf230519657a68c394c
parent6840f54cbac88e8a8f70384775771c4fda20b9c9 (diff)
downloadopenembedded-core-contrib-f8d7394f314041de7bcbf06ccb6405f64c68fad0.tar.gz
openembedded-core-contrib-f8d7394f314041de7bcbf06ccb6405f64c68fad0.tar.bz2
openembedded-core-contrib-f8d7394f314041de7bcbf06ccb6405f64c68fad0.zip
libgloss_3.0.0.bb: Ensure ${D}${libdir} exists installing content
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>
-rw-r--r--meta/recipes-core/newlib/libgloss_3.0.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/newlib/libgloss_3.0.0.bb b/meta/recipes-core/newlib/libgloss_3.0.0.bb
index e412153dab..c9ed30d988 100644
--- a/meta/recipes-core/newlib/libgloss_3.0.0.bb
+++ b/meta/recipes-core/newlib/libgloss_3.0.0.bb
@@ -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