[Bug 1560839] Re: libdpdk0 should provide a package for debug symbols
ChristianEhrhardt
1560839 at bugs.launchpad.net
Wed Mar 23 07:29:22 UTC 2016
diff --git a/debian/control b/debian/control
index 60cf704..61e3475 100644
--- a/debian/control
+++ b/debian/control
@@ -79,3 +79,16 @@ Description: Data Plane Development Kit (basic
development files)
This package contains the basic headers and library files required to
build external applications which will also require at least SSE3 support
when running.
+
+Package: libdpdk-dbg
+Priority: extra
+Section: debug
+Architecture: amd64 i386
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libdpdk0 (= ${binary:Version}), ${misc:Depends}
+Description: Data Plane Development Kit (basic development files)
+ DPDK is a set of libraries for fast packet processing. Applications run
+ in user-space and communicate directly with dedicated network interfaces.
+ This package contains the debug symbols for the DPDK library. Install it
+ to debug the library or to examine a core dump.
diff --git a/debian/rules b/debian/rules
index df81ece..92f35ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@ build-indep: build-config
build-arch: build-config
dh_testdir
- $(MAKE) O=$(DPDK_STATIC_DIR) build
+ $(MAKE) O=$(DPDK_STATIC_DIR) EXTRA_CFLAGS='-g' build
# Unfortunately the decision about having static or shared
libraries is
# made for the whole build, which then produces only .a or .so
files
# (but not both).
@@ -59,7 +59,7 @@ build-arch: build-config
cp -a $(DPDK_STATIC_DIR) $(DPDK_SHARED_DIR)
sed -ri 's,(RTE_BUILD_SHARED_LIB=).*,\1y,' \
$(DPDK_SHARED_DIR)/.config
- $(MAKE) O=$(DPDK_SHARED_DIR) build
+ $(MAKE) O=$(DPDK_SHARED_DIR) EXTRA_CFLAGS='-g' build
build: build-arch build-indep
@@ -145,7 +145,7 @@ binary-arch:
dh_link
dh_compress
dh_fixperms
- dh_strip
+ dh_strip --dbg-package=libdpdk-dbg
dh_makeshlibs
dh_shlibdeps
dh_installdeb
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dpdk in Ubuntu.
https://bugs.launchpad.net/bugs/1560839
Title:
libdpdk0 should provide a package for debug symbols
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1560839/+subscriptions
More information about the Ubuntu-server-bugs
mailing list