git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9975b23
)
gdb-cross-sdk: Only fixup sim Makefiles that exist
author
Tom Rini
<tom_rini@mentor.com>
Mon, 4 Oct 2010 21:48:36 +0000
(14:48 -0700)
committer
Tom Rini
<tom_rini@mentor.com>
Mon, 4 Oct 2010 22:22:52 +0000
(15:22 -0700)
This can fail for versions that just pass in --disable-sim
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/gdb/gdb-cross-sdk.inc
patch
|
blob
|
history
diff --git
a/recipes/gdb/gdb-cross-sdk.inc
b/recipes/gdb/gdb-cross-sdk.inc
index
bd7f0df
..
d7bc2ab
100644
(file)
--- 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
}