summaryrefslogtreecommitdiff
path: root/data/gdb/make.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-07-27 11:55:09 +0000
committerJay Freeman <saurik@saurik.com>2008-07-27 11:55:09 +0000
commit93b04703444b0434644584a9d18c483baafb21a1 (patch)
tree9538fd7660119bb119e80d0571825dd3f22e21a1 /data/gdb/make.sh
parent36766b4cc392785a1f89c10bcf2fc0a0e30c5b6a (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.sh17
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"