summaryrefslogtreecommitdiff
path: root/package/libthread_db
diff options
context:
space:
mode:
Diffstat (limited to 'package/libthread_db')
-rw-r--r--package/libthread_db/Config.in7
-rw-r--r--package/libthread_db/Makefile25
-rw-r--r--package/libthread_db/ipkg/libthread-db.control4
3 files changed, 36 insertions, 0 deletions
diff --git a/package/libthread_db/Config.in b/package/libthread_db/Config.in
new file mode 100644
index 000000000..3aef82785
--- /dev/null
+++ b/package/libthread_db/Config.in
@@ -0,0 +1,7 @@
+config ADK_PACKAGE_LIBTHREAD_DB
+ prompt "libthread_db...................... POSIX threads library for Debugging"
+ tristate
+ default n
+ help
+ POSIX threads library
+
diff --git a/package/libthread_db/Makefile b/package/libthread_db/Makefile
new file mode 100644
index 000000000..4741ce3a5
--- /dev/null
+++ b/package/libthread_db/Makefile
@@ -0,0 +1,25 @@
+# $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
+
+ifeq ($(ADK_TARGET_LIB_GLIBC),y)
+include ${TOPDIR}/toolchain/glibc/Makefile.inc
+else
+include ${TOPDIR}/toolchain/uClibc/Makefile.inc
+endif
+
+PKG_NAME:= libthread-db
+NO_DISTFILES:= 1
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBTHREAD_DB,libthread-db,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_LIBTHREAD_DB}/lib
+ ${CP} ${STAGING_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libthread_db/ipkg/libthread-db.control b/package/libthread_db/ipkg/libthread-db.control
new file mode 100644
index 000000000..533ba4149
--- /dev/null
+++ b/package/libthread_db/ipkg/libthread-db.control
@@ -0,0 +1,4 @@
+Package: libthread-db
+Priority: optional
+Section: libs
+Description: POSIX threads library for gdb/gdbserver