diff options
author | Tom Rini <tom_rini@mentor.com> | 2010-10-04 14:48:36 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-10-04 15:22:52 -0700 |
commit | a44217d83e940dc1d94908d9c4759bdd9121d166 (patch) | |
tree | 70aca62bc1f1f9353e59def77ca903346e635ac3 /recipes | |
parent | 9975b23563cf5b32565de70f6395f5faa155d4aa (diff) | |
download | openembedded-a44217d83e940dc1d94908d9c4759bdd9121d166.tar.gz |
gdb-cross-sdk: Only fixup sim Makefiles that exist
This can fail for versions that just pass in --disable-sim
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gdb/gdb-cross-sdk.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc index bd7f0dfa98..d7bc2ab935 100644 --- a/recipes/gdb/gdb-cross-sdk.inc +++ b/recipes/gdb/gdb-cross-sdk.inc @@ -13,5 +13,7 @@ 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/*/Makefile + for SIM in ${B}/sim/*/Makefile; do + [ -f $SIM ] && sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i $SIM + done } |