Module: xenomai-2.6
Branch: master
Commit: 397b5a9a467f70b6bc4f281754af8ca32428a0e7
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=397b5a9a467f70b6bc4f281754af8ca32428a0e7

Author: Paul Corner <pau...@tuxcnc.org>
Date:   Sat Sep  6 16:08:39 2014 +0100

debian: Add debug packages for library and runtime.

---

 debian/control |   29 +++++++++++++++++++++++++++++
 debian/rules   |    6 ++++--
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 56fe0b1..a15adbe 100644
--- a/debian/control
+++ b/debian/control
@@ -24,6 +24,21 @@ Description: Xenomai runtime utilities
  This package contains the runtime programs and the testsuite for the Xenomai
  realtime system.
 
+Package: xenomai-runtime-dbg
+Section: debug
+Architecture: amd64 arm armeb armel armhf i386 powerpc powerpcspe
+Depends: xenomai-runtime (=${binary:Version}), ${misc:Depends}
+Description: debugging symbols for Xenomai runtime utilities
+ Xenomai is a real-time development framework cooperating with the Linux
+ kernel in order to provide a pervasive, interface-agnostic, hard real-time
+ support to user-space applications, seamlessly integrated into the GNU/Linux
+ environment. Xenomai provides its own API and emulation layers ("skins") to
+ make migration from other RTOS easier. Examples are: pSOS+, VxWorks, VRTX,
+ uiTRON, RTAI, POSIX.
+ .
+ This package contains the debug symbols for the runtime programs and testsuite
+ for Xenomai realtime system.
+
 Package: xenomai-kernel-source
 Section: kernel
 Architecture: all
@@ -62,6 +77,20 @@ Description: Shared libraries for Xenomai
  .
  This package contains the shared libraries.
 
+Package: libxenomai1-dbg
+Section: debug
+Architecture: amd64 arm armeb armel armhf i386 powerpc powerpcspe
+Depends: libxenomai1 (=${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for libxenomai1
+ Xenomai is a real-time development framework cooperating with the Linux
+ kernel in order to provide a pervasive, interface-agnostic, hard real-time
+ support to user-space applications, seamlessly integrated into the GNU/Linux
+ environment. Xenomai provides its own API and emulation layers ("skins") to
+ make migration from other RTOS easier. Examples are: pSOS+, VxWorks, VRTX,
+ uiTRON, RTAI, POSIX.
+ .
+ This package contains the debug symbols for libxenomai1.
+
 Package: libxenomai-dev
 Section: libdevel
 Architecture: amd64 arm armeb armel armhf i386 powerpc powerpcspe
diff --git a/debian/rules b/debian/rules
index a91958f..edcd265 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,8 @@ DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture 
-qDEB_BUILD_GNU_TYPE)
 CONFIG_OPTS = --prefix=/usr \
             --includedir=/usr/include/xenomai \
             --mandir=/usr/share/man \
-           --with-testdir=/usr/lib/xenomai/testsuite
+           --with-testdir=/usr/lib/xenomai/testsuite \
+           --enable-debug
 
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
        CONFIG_OPTS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
@@ -99,7 +100,8 @@ binary-arch: build install
        dh_installdocs -s -A CREDITS README.INSTALL TROUBLESHOOTING
        dh_link -s
        dh_installchangelogs -s
-       dh_strip -s
+       dh_strip -pxenomai-runtime --dbg-package=xenomai-runtime-dbg
+       dh_strip -plibxenomai1 --dbg-package=libxenomai1-dbg
        dh_compress -s
        dh_fixperms -s
        dh_makeshlibs -s


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to