All of lore.kernel.org
 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 14:12:03 +0300	[thread overview]
Message-ID: <20160930141203.62458307@e754> (raw)

Hello.

I'm building Linux kernel like this:

```
cp /boot/config-$(uname -r) ./.config
make olddefconfig
make -j4 deb-pkg LOCALVERSION=-custom
```

Resulting files are (for 4.7.0 kernel):

```
   966694 linux-firmware-image-4.7.0-custom_4.7.0-custom-1_amd64.deb
 10316460 linux-headers-4.7.0-custom_4.7.0-custom-1_amd64.deb
 45639036 linux-image-4.7.0-custom_4.7.0-custom-1_amd64.deb
471400164 linux-image-4.7.0-custom-dbg_4.7.0-custom-1_amd64.deb
   851664 linux-libc-dev_4.7.0-custom-1_amd64.deb
```

Compilation takes about an hour and most of this time is spent on
creating a -dbg package which I don't install anyway. Frankly I don't
think this package is very useful since Linux kernel can't be built
with -O0 option [1].

Is it possible to disable building of this package?

[1] https://lists.kernelnewbies.org/pipermail/kernelnewbies/2016-August/016687.html

-- 
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/3b53db11/attachment.bin 

             reply	other threads:[~2016-09-30 11:12 UTC|newest]

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

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=20160930141203.62458307@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.