summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-package-target.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-target.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-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index 43e2bd5dba..6cc308c6dc 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -88,8 +88,8 @@ do_install () {
88 rm -f *gcc-?.?* 88 rm -f *gcc-?.?*
89 89
90 # We use libiberty from binutils 90 # We use libiberty from binutils
91 find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f 91 find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f
92 find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f 92 find ${D}${exec_prefix}/lib -name libiberty.h | xargs rm -f
93 93
94 # Symlinks so we can use these trivially on the target 94 # Symlinks so we can use these trivially on the target
95 ln -sf ${TARGET_PREFIX}g77 g77 || true 95 ln -sf ${TARGET_PREFIX}g77 g77 || true