aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-08-31 22:51:36 +0000
committerRoland Dreier <rolandd@cisco.com>2006-11-09 11:35:57 -0800
commit551f5abd5d3ed91a79e07c4695b2f286d0c21eb9 (patch)
tree115c70427ae1676079211ca763d03a9222c1edee
parentfa9d62ef07ed0ac6085e0a61038566d3708342f2 (diff)
downloadlibibverbs-551f5abd5d3ed91a79e07c4695b2f286d0c21eb9.tar.gz
Add -dbg packages with debugging symbols to Debian packages
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--debian/control15
-rwxr-xr-xdebian/rules1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index b960e17..ae49a3f 100644
--- a/debian/control
+++ b/debian/control
@@ -34,6 +34,21 @@ Description: Development files for the libibverbs library
It contains the header files and static libraries (optionally)
needed for compiling.
+Package: libibverbs1-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libibverbs1 (= ${Source-Version})
+Description: Development files for the libmthca driver
+ libibverbs is a library that allows userspace processes to use
+ InfiniBand "verbs" as described in the InfiniBand Architecture
+ Specification. This includes direct hardware access for fast path
+ operations.
+ .
+ This package contains the debugging symbols associated with
+ libibverbs1. They will automatically be used by gdb for debugging
+ libibverbs-related issues.
+
Package: ibverbs-examples
Section: net
Architecture: any
diff --git a/debian/rules b/debian/rules
index a42a4aa..7d62cd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
# Copyright © 2005 Roland Dreier <rolandd@cisco.com>
DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_STRIP_ARGS := --dbg-package=libibverbs1
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk