summaryrefslogtreecommitdiff
path: root/package/gdbserver
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gdbserver
Initial import
Diffstat (limited to 'package/gdbserver')
-rw-r--r--package/gdbserver/Config.in8
-rw-r--r--package/gdbserver/Makefile22
-rw-r--r--package/gdbserver/ipkg/gdbserver.control5
3 files changed, 35 insertions, 0 deletions
diff --git a/package/gdbserver/Config.in b/package/gdbserver/Config.in
new file mode 100644
index 000000000..a53d523d6
--- /dev/null
+++ b/package/gdbserver/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_GDBSERVER
+ prompt "gdbserver......................... Remote Server for the GNU Debugger"
+ tristate
+ select ADK_PACKAGE_LIBTHREAD_DB
+ default n
+ help
+ GDBSERVER is a program that allows you to run GDB on a different machine
+ than the one which is running the program being debugged.
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
new file mode 100644
index 000000000..e4879a4cc
--- /dev/null
+++ b/package/gdbserver/Makefile
@@ -0,0 +1,22 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+include ${TOPDIR}/toolchain/gdb/Makefile.inc
+include ${TOPDIR}/mk/package.mk
+
+WRKSRC= ${WRKDIST}/gdb/gdbserver
+
+$(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdbserver/ipkg/gdbserver.control b/package/gdbserver/ipkg/gdbserver.control
new file mode 100644
index 000000000..f0ab8da6c
--- /dev/null
+++ b/package/gdbserver/ipkg/gdbserver.control
@@ -0,0 +1,5 @@
+Package: gdbserver
+Priority: optional
+Section: devel
+Depends: libthread_db
+Description: Remote Server for the GNU Debugger