summaryrefslogtreecommitdiffstats
path: root/meta
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:35 +0100
commit7670b7b4cc6f65d945974dbc645b6e067ca03503 (patch)
tree1358de359e5f6e7bcc8f2494c6c100fd63a8faf5 /meta
parentb7e3f3ff4ba25f9196fa13c8cfa1d89080bf7e71 (diff)
downloadpoky-7670b7b4cc6f65d945974dbc645b6e067ca03503.tar.gz
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] (From OE-Core rev: 69ce8ba6cc610f310ae28d988d487918906e6ef9) 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>
Diffstat (limited to 'meta')
-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() {
18 18
19do_install_append() { 19do_install_append() {
20 # Move libs to default directories so they can be picked up later 20 # Move libs to default directories so they can be picked up later
21 mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir} 21 mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir}
22 22
23 # Remove original directory 23 # Remove original directory
24 rmdir ${D}${prefix}/${TARGET_SYS}/lib
24 rmdir ${D}${prefix}/${TARGET_SYS} 25 rmdir ${D}${prefix}/${TARGET_SYS}
25} 26}
26 27