summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-package-target.inc
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-03-01 06:44:12 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 16:56:14 +0000
commitbc009ed6a46ec81d1b48c818dac0ea3737a75828 (patch)
tree38cd7c80562395f9ea0e3eed405bcf4a380a1f49 /meta/recipes-devtools/gcc/gcc-package-target.inc
parent16725463efc7d02e11d8c0e4d2f67252d38ce56c (diff)
downloadpoky-bc009ed6a46ec81d1b48c818dac0ea3737a75828.tar.gz
gcc: take out libiberty files from gcc packages
this Fixes [BUGID #754] (From OE-Core rev: 553a92c442bc3a35d1520a22e640a3a0e377b8f7) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-package-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index 3286da6a95..d61e96b57b 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -86,6 +86,10 @@ do_install () {
86 # We don't care about the gcc-<version> ones for this 86 # We don't care about the gcc-<version> ones for this
87 rm -f *gcc-?.?* 87 rm -f *gcc-?.?*
88 88
89 # We use libiberty from binutils
90 find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f
91 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f
92
89 # Symlinks so we can use these trivially on the target 93 # Symlinks so we can use these trivially on the target
90 ln -sf ${TARGET_SYS}-g77 g77 || true 94 ln -sf ${TARGET_SYS}-g77 g77 || true
91 ln -sf ${TARGET_SYS}-gfortran gfortran || true 95 ln -sf ${TARGET_SYS}-gfortran gfortran || true