summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/newlib
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2018-09-10 12:42:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-11 09:05:29 +0100
commit69ce8ba6cc610f310ae28d988d487918906e6ef9 (patch)
tree46e0a144af84b09ee8cdacaa49bfd6f714ad9813 /meta/recipes-core/newlib
parentd633633f3d83467fe1f946c57e2e75e0e774ec7e (diff)
downloadopenembedded-core-contrib-69ce8ba6cc610f310ae28d988d487918906e6ef9.tar.gz
openembedded-core-contrib-69ce8ba6cc610f310ae28d988d487918906e6ef9.tar.bz2
openembedded-core-contrib-69ce8ba6cc610f310ae28d988d487918906e6ef9.zip
libgloss_3.0.0.bb: Fix up mv pattern to include libnosys
When installing libgloss libraries handle the ${TARGET_SYS}/lib contents so that it is placed in ${libdir} instead of ${libdir}/lib. This resolves a packaging QA issue. ERROR: libgloss-3.0.0-r0 do_package: QA Issue: libgloss: Files/directories were installed but not shipped in any package: /usr/lib/lib /usr/lib/lib/libnosys.a /usr/lib/lib/nosys.specs Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. libgloss: 3 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/newlib')
-rw-r--r--meta/recipes-core/newlib/libgloss_3.0.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/newlib/libgloss_3.0.0.bb b/meta/recipes-core/newlib/libgloss_3.0.0.bb
index 664a922815..727062ca5d 100644
--- a/meta/recipes-core/newlib/libgloss_3.0.0.bb
+++ b/meta/recipes-core/newlib/libgloss_3.0.0.bb
@@ -18,9 +18,10 @@ do_install_prepend() {
do_install_append() {
# Move libs to default directories so they can be picked up later
- mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir}
+ mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir}
# Remove original directory
+ rmdir ${D}${prefix}/${TARGET_SYS}/lib
rmdir ${D}${prefix}/${TARGET_SYS}
}