diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-03-01 06:44:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-03 16:56:14 +0000 |
commit | bc009ed6a46ec81d1b48c818dac0ea3737a75828 (patch) | |
tree | 38cd7c80562395f9ea0e3eed405bcf4a380a1f49 /meta/recipes-devtools/gcc/gcc-package-cross.inc | |
parent | 16725463efc7d02e11d8c0e4d2f67252d38ce56c (diff) | |
download | poky-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-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-package-cross.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc index 4f902fa149..04c81017df 100644 --- a/meta/recipes-devtools/gcc/gcc-package-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc | |||
@@ -27,6 +27,10 @@ do_install () { | |||
27 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d | 27 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d |
28 | done | 28 | done |
29 | 29 | ||
30 | # We use libiberty from binutils | ||
31 | find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f | ||
32 | find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f | ||
33 | |||
30 | # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build | 34 | # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build |
31 | if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then | 35 | if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then |
32 | dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS} | 36 | dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS} |