diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2015-09-21 16:21:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:54:30 +0100 |
commit | 47ef2015a4cc0403f32e5d24e6c10491fda6180b (patch) | |
tree | d97611e155df181336bc3c5589946f8e3ff13a76 /meta/recipes-devtools | |
parent | aff7e7261176b2d37a259e37164735d1baa2f709 (diff) | |
download | poky-47ef2015a4cc0403f32e5d24e6c10491fda6180b.tar.gz |
libgcc.inc: package baremetal multilib libraries
When building libgcc some files and libraries may be built but not packaged.
The original code packaged only some explicitly specified files targeting mostly x86.
This patch does not discriminate between various targets.
It fixes errors such as these:
ERROR: QA Issue: libgcc: Files/directories were installed but not shipped in any package:
/usr/lib/arm-poky-eabi/4.9.3/thumb
/usr/lib/arm-poky-eabi/4.9.3/fpu
/usr/lib/arm-poky-eabi/4.9.3/thumb/libgcov.a
/usr/lib/arm-poky-eabi/4.9.3/thumb/crtn.o
/usr/lib/arm-poky-eabi/4.9.3/thumb/crtend.o
/usr/lib/arm-poky-eabi/4.9.3/thumb/crtbegin.o
/usr/lib/arm-poky-eabi/4.9.3/thumb/libgcc.a
/usr/lib/arm-poky-eabi/4.9.3/thumb/crti.o
/usr/lib/arm-poky-eabi/4.9.3/fpu/libgcov.a
/usr/lib/arm-poky-eabi/4.9.3/fpu/crtn.o
/usr/lib/arm-poky-eabi/4.9.3/fpu/crtend.o
/usr/lib/arm-poky-eabi/4.9.3/fpu/crtbegin.o
/usr/lib/arm-poky-eabi/4.9.3/fpu/libgcc.a
/usr/lib/arm-poky-eabi/4.9.3/fpu/crti.o
Please set FILES such that these items are packaged. Alternatively if they are unneeded,
avoid installing them or delete them within do_install. [installed-vs-shipped]
(From OE-Core rev: 603b2f3ef400ec66a6899a7b407cbfecd3da5910)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc index 739adbd968..95fa3f40b0 100644 --- a/meta/recipes-devtools/gcc/libgcc.inc +++ b/meta/recipes-devtools/gcc/libgcc.inc | |||
@@ -15,17 +15,10 @@ LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception" | |||
15 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" | 15 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" |
16 | 16 | ||
17 | 17 | ||
18 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" | ||
19 | FILES_${PN}-dev = "\ | 18 | FILES_${PN}-dev = "\ |
20 | ${base_libdir}/libgcc*.so \ | 19 | ${base_libdir}/libgcc*.so \ |
21 | ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ | ||
22 | ${libdir}/${TARGET_SYS}/${BINV}/64 \ | ||
23 | ${libdir}/${TARGET_SYS}/${BINV}/32 \ | ||
24 | ${libdir}/${TARGET_SYS}/${BINV}/x32 \ | ||
25 | ${libdir}/${TARGET_SYS}/${BINV}/n32 \ | ||
26 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc* \ | ||
27 | ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ | 20 | ${@base_conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ |
28 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ | 21 | ${libdir}/${TARGET_SYS}/${BINV}* \ |
29 | " | 22 | " |
30 | 23 | ||
31 | FILES_${PN}-dbg += "${base_libdir}/.debug/" | 24 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |