diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-04 15:37:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-05 11:16:35 +0100 |
commit | b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715 (patch) | |
tree | 53972d874d34f89490faa147cb5c0a1ad47e3432 /meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |
parent | 8e156563c962e20a1d7618280ed81cee3c696167 (diff) | |
download | openembedded-core-b8d72e3af93ff9e2808fef4fe7b9d00b68bf9715.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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 05b5dbc089..df5958ac77 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc @@ -40,8 +40,8 @@ do_install () { rm -rf ${D}${datadir}/ # We use libiberty from binutils - find -name libiberty.a ${D}${exec_prefix}/lib | xargs rm -f - find -name libiberty.h ${D}${exec_prefix}/lib | xargs rm -f + find ${D}${exec_prefix}/lib -name libiberty.a | xargs rm -f + find ${D}${exec_prefix}/lib -name libiberty.h | 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. |