Horms
2006-Mar-03 01:13 UTC
[Xen-devel] [PATCH 1/2] gdbserver-xen: minor build enhancements
Hi, the following mails are two minor enhacements to gdbbuild, the build script for gdbserver-xen. [PATCH 1/2] gdbserver-xen: Use $MAKE if set [PATCH 2/2] gdbserver-xen: Make mirror configurable from environment A diffstat of the changes (cat *.patch | diffstat): gdbbuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- Horms _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
# HG changeset patch # User Horms <horms@verge.net.au> # Node ID 48476839c3aa35ebee6e196f6334740d9ab366d1 # Parent 2c859ccf9de1f9039ec6f456aab815113f33df2f gdbserver-xen: Use $MAKE if set diff -r 2c859ccf9de1 -r 48476839c3aa tools/debugger/gdb/gdbbuild --- a/tools/debugger/gdb/gdbbuild Thu Feb 23 12:18:46 2006 +0900 +++ b/tools/debugger/gdb/gdbbuild Tue Feb 28 14:58:13 2006 +0900 @@ -12,8 +12,10 @@ cd gdb-6.2.1-linux-i386-xen cd gdb-6.2.1-linux-i386-xen ../gdb-6.2.1/configure -# some people don''t have gmake -if which gmake ; then +# Use $MAKE if set, else use gmake if present, otherwise use make +if [ "X$MAKE" != "X" ]; then + $MAKE +elif which gmake ; then gmake -j4 else make -j4 -- Horms _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Horms
2006-Mar-03 01:13 UTC
[Xen-devel] [PATCH 2/2] gdbserver-xen: Make mirror configurable from environment
# HG changeset patch # User Horms <horms@verge.net.au> # Node ID 523284fefb61d8ccf4f5366e04b4b1bf3d541788 # Parent 58cc7d3e61446f39337fb3fd340a276e16104ab2 gdbserver-xen: Make mirror configurable from environment diff -r 58cc7d3e6144 -r 523284fefb61 tools/debugger/gdb/gdbbuild --- a/tools/debugger/gdb/gdbbuild Tue Feb 28 15:19:47 2006 +0900 +++ b/tools/debugger/gdb/gdbbuild Tue Feb 28 15:21:09 2006 +0900 @@ -1,7 +1,9 @@ #!/bin/sh +[ "X$GDB_MIRROR" == "X" ] && GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/" + rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen -[ -a gdb-6.2.1.tar.bz2 ] || wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2 +[ -a gdb-6.2.1.tar.bz2 ] || wget -c "$GDB_MIRROR/gdb-6.2.1.tar.bz2" tar xjf gdb-6.2.1.tar.bz2 cd gdb-6.2.1-xen-sparse -- Horms _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel