summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-package-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-04 15:37:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 11:39:08 +0100
commit21effd66408423b02845186f1007b1a58f3fba31 (patch)
tree440634c3b3784e8694751e97030b9651d11d59c5 /meta/recipes-devtools/gcc/gcc-package-cross.inc
parentc2cb8d68c417f8093632897dc07441d54574ab6e (diff)
downloadpoky-21effd66408423b02845186f1007b1a58f3fba31.tar.gz
gcc: Fix removal of libiberty.a
The changes in commit 553a92c442bc3a35d1520a22e640a3a0e377b8f7 were not applying correctly due to the error: "find: paths must precede expression" This patch corrects the find syntax. [YOCTO #1199] (From OE-Core rev: b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715) 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.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc
index b51336bf2d..3d27788c56 100644
--- a/meta/recipes-devtools/gcc/gcc-package-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc
@@ -29,8 +29,8 @@ do_install () {
29 done 29 done
30 30
31 # We use libiberty from binutils 31 # We use libiberty from binutils
32 find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f 32 find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f
33 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f 33 find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f
34 34
35 # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build 35 # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build
36 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then 36 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then