From 551f5abd5d3ed91a79e07c4695b2f286d0c21eb9 Mon Sep 17 00:00:00 2001 From: Roland Dreier Date: Wed, 31 Aug 2005 22:51:36 +0000 Subject: [PATCH] Add -dbg packages with debugging symbols to Debian packages Signed-off-by: Roland Dreier --- debian/control | 15 +++++++++++++++ debian/rules | 1 + 2 files changed, 16 insertions(+) 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 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 -- 2.46.0