mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
the tree was checked out of CVS, which doens't neccessarily store file permissions, mkbuildtree may not be executable. So run them explicitly via bash. Signed-Off-By: Horms <horms@verge.net.au>
25 lines
512 B
Bash
Executable File
25 lines
512 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$GDB_MIRROR" ] || 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 "$GDB_MIRROR/gdb-6.2.1.tar.bz2"
|
|
tar xjf gdb-6.2.1.tar.bz2
|
|
|
|
cd gdb-6.2.1-xen-sparse
|
|
bash ./mkbuildtree ../gdb-6.2.1
|
|
|
|
cd ..
|
|
mkdir gdb-6.2.1-linux-i386-xen
|
|
cd gdb-6.2.1-linux-i386-xen
|
|
../gdb-6.2.1/configure
|
|
|
|
# Use $MAKE if set, else use gmake if present, otherwise use make
|
|
if [ "$MAKE" ]; then
|
|
$MAKE
|
|
elif which gmake ; then
|
|
gmake -j4
|
|
else
|
|
make -j4
|
|
fi
|