From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Fri, 30 Sep 2016 13:21:34 +0200 Subject: How to disable building of -dbg Debian package? In-Reply-To: <20160930141203.62458307@e754> (Aleksander Alekseev's message of "Fri, 30 Sep 2016 14:12:03 +0300") References: <20160930141203.62458307@e754> Message-ID: <87twcx1vlt.fsf@miraculix.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Aleksander Alekseev writes: > 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 > ``` Maybe the relatively new "bindeb-pkg" target is closer to what you want? See "make help" for all alternatives. Bj?rn