diff options
author | Jay Freeman <saurik@saurik.com> | 2008-07-27 11:55:09 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-07-27 11:55:09 +0000 |
commit | 93b04703444b0434644584a9d18c483baafb21a1 (patch) | |
tree | 9538fd7660119bb119e80d0571825dd3f22e21a1 /data/gdb/make.sh | |
parent | 36766b4cc392785a1f89c10bcf2fc0a0e30c5b6a (diff) |
Finally got GDB entirely working.
git-svn-id: http://svn.telesphoreo.org/trunk@399 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/gdb/make.sh')
-rw-r--r-- | data/gdb/make.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/gdb/make.sh b/data/gdb/make.sh new file mode 100644 index 000000000..86a29857b --- /dev/null +++ b/data/gdb/make.sh @@ -0,0 +1,17 @@ +shopt -s extglob +pkg:setup +#cd src/gdb +#autoconf +#cd ../.. +cd .. +mkdir build +cd build +PKG_CONF=$(echo ../!(build)/src/configure) pkg:configure +make +# XXX: do I really need DSTROOT? +pkg:install DSTROOT="${PKG_DEST}" +for bin in ar nm ranlib size strings strip; do + pkg: rm -f "/usr/bin/${bin}" +done +pkg: rm -f /usr/lib/libiberty.a +ldid -S"${PKG_DATA}/gdb.xml" "${PKG_DEST}/usr/bin/gdb" |