summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-03-01 06:44:12 -0800
committerSaul Wold <sgw@linux.intel.com>2011-03-02 09:48:53 -0800
commit553a92c442bc3a35d1520a22e640a3a0e377b8f7 (patch)
tree272ba6f86e4a121bf63913aeed073b566d821a30 /meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
parent93fbcda210ba931e297205bb5094bce12a2b4666 (diff)
downloadopenembedded-core-553a92c442bc3a35d1520a22e640a3a0e377b8f7.tar.gz
openembedded-core-553a92c442bc3a35d1520a22e640a3a0e377b8f7.tar.bz2
openembedded-core-553a92c442bc3a35d1520a22e640a3a0e377b8f7.tar.xz
openembedded-core-553a92c442bc3a35d1520a22e640a3a0e377b8f7.zip
gcc: take out libiberty files from gcc packages
this Fixes [BUGID #754] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index 2e5283d69..92c3ce205 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -35,7 +35,8 @@ do_install () {
rm -rf ${D}${datadir}/
# We use libiberty from binutils
- rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
+ find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
+ find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
# found. These need to be relative paths so they work in different locations.