summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-28 14:36:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 13:08:18 +0100
commitf7ec6ea2b32207993e7fc92ed67c08f542007953 (patch)
treedbadb2396a74344af09f7a67230ca4087fc93d6c /meta
parent78abdd12305d4b74d7ec82fd38b7a27aaa8d7d95 (diff)
downloadopenembedded-core-f7ec6ea2b32207993e7fc92ed67c08f542007953.tar.gz
openembedded-core-f7ec6ea2b32207993e7fc92ed67c08f542007953.tar.bz2
openembedded-core-f7ec6ea2b32207993e7fc92ed67c08f542007953.zip
libgcc: Remove unpackage unwind.h
Fixes build warnings like below WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/arm-oe-linux-gnueabi/4.7.2/include WARNING: /usr/lib/arm-oe-linux-gnueabi/4.7.2/include/unwind.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.7.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
index 891c03ed29..55aa03c0e3 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
@@ -58,6 +58,10 @@ do_install () {
mv ${D}${libdir}/gcc/* ${D}${libdir}
rm -rf ${D}${libdir}/gcc/
+ # unwind.h is installed here which is shipped in gcc-cross
+ # as well as target gcc and they are identical so we dont
+ # ship one with libgcc here
+ rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
}
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_package"