Re: How to disable building of -dbg Debian package?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16-09-30 14:12, Aleksander Alekseev wrote:
> 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?
>

Hi Aleksander,

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.


-- 
Best regards,
Andrey Skvortsov

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux