aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2010-09-29 17:59:37 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2010-09-29 17:59:37 +0400
commitad701be6825514ea1163d52efb9e1919553df4fd (patch)
tree03c15e0336af497ada78a25968f97d795ae890db
parent015e393510da2c49ec332b788425e0d3f7d853a0 (diff)
downloadopenembedded-ad701be6825514ea1163d52efb9e1919553df4fd.tar.gz
openembedded-ad701be6825514ea1163d52efb9e1919553df4fd.tar.bz2
openembedded-ad701be6825514ea1163d52efb9e1919553df4fd.zip
gdb-cross-sdk: fix compilation on non-arm platforms
Not all platforms are arm. Not all platforms have sim/arm/Makefile for sed. Grrr. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Eric BĂ©nard <eric@eukrea.com> Cc: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/gdb/gdb-cross-sdk.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
index fbff553d29..3e214fe957 100644
--- a/recipes/gdb/gdb-cross-sdk.inc
+++ b/recipes/gdb/gdb-cross-sdk.inc
@@ -15,5 +15,5 @@ do_configure_append () {
sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/gdb/Makefile
sed -e 's,-lexpat, ${STAGING_LIBDIR_NATIVE}/libexpat.a ,g' -i ${B}/gdb/Makefile
sed -e 's,libexpat.so,libexpat.a ,g' -i ${B}/gdb/Makefile
- sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/sim/arm/Makefile
-} \ No newline at end of file
+ sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/sim/*/Makefile
+}