kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: afiskon@devzen.ru (Aleksander Alekseev)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to disable building of -dbg Debian package?
Date: Fri, 30 Sep 2016 16:25:57 +0300	[thread overview]
Message-ID: <20160930162557.4b28380b@e754> (raw)
In-Reply-To: <20160930113951.nkkc2jkiaxzfsjqb@localhost.localdomain>

Thanks for your replies!

> disable CONFIG_DEBUG_INFO and -dbg package will not be built.
> But this package can be very useful, if you are going to debug kernel
> code. SystemTap, crash, makedumpfile need debug symbols.

Indeed, commenting CONFIG_DEBUG_INFO option disables building -dbg
package. Just what I needed!

> Maybe the relatively new "bindeb-pkg" target is closer to what you
> want?

bindeb-pkg doesn't disable building -dbg package, but it helps in
another way. When this target is used only .deb package are built,
all .tar.gz archives, .changes and stuff like this are disabled. It
also speeds up building a little, thanks!

-- 
Best regards,
Aleksander Alekseev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160930/ac5a737c/attachment-0001.bin 

      reply	other threads:[~2016-09-30 13:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 11:12 How to disable building of -dbg Debian package? Aleksander Alekseev
2016-09-30 11:21 ` Bjørn Mork
2016-09-30 11:39 ` Andrey Skvortsov
2016-09-30 13:25   ` Aleksander Alekseev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160930162557.4b28380b@e754 \
    --to=afiskon@devzen.ru \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).