diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 20:57:03 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 20:57:03 -0700 |
commit | 9614c387a6141bc10c70e5aa81cddd3eba456a10 (patch) | |
tree | 4845875d60e09653c87b39c9eb5cbdca7718b491 | |
parent | 82b9c9b569cece31d7bfd77f0a316869c3721400 (diff) | |
download | quagga-9614c387a6141bc10c70e5aa81cddd3eba456a10.tar.bz2 quagga-9614c387a6141bc10c70e5aa81cddd3eba456a10.tar.xz |
Provide debug symbols package
Make an extra package with debug symbols that can be used
if needed for debugging.
-rw-r--r-- | debian/.gitignore | 1 | ||||
-rw-r--r-- | debian/control | 7 | ||||
-rwxr-xr-x | debian/rules | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/debian/.gitignore b/debian/.gitignore index 1ec0cf81..067ac3de 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -1,6 +1,7 @@ build-stamp quagga vyatta-quagga +vyatta-quagga-dbg *.substvars files *.debhelper diff --git a/debian/control b/debian/control index 762d4508..f6b72190 100644 --- a/debian/control +++ b/debian/control @@ -38,3 +38,10 @@ Description: BGP/OSPF/RIP routing daemon . It is more than a routed replacement, it can be used as a Route Server and a Route Reflector. + +Package: vyatta-quagga-dbg +Architecture: any +Priority: extra +Depends: ${shlibs:Depends} +Description: BGP/OSPF/RIP debug symbols + Debug symbols for Quagga routing daemons diff --git a/debian/rules b/debian/rules index 046bffc9..ef9162fe 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,7 @@ CFLAGS = -Wall WANT_SNMP=1 CFLAGS += -Os -freorder-blocks +CFLAGS += -g1 -fno-omit-frame-pointer -fno-optimize-sibling-calls ifeq ($(WANT_SNMP),1) xable_snmp = --enable-snmp @@ -124,7 +125,7 @@ binary-arch: build install dh_installpam --name=quagga dh_installlogrotate - dh_strip + dh_strip --dbg-package=vyatta-quagga-dbg dh_compress dh_fixperms dh_makeshlibs --noscripts |