From mboxrd@z Thu Jan 1 00:00:00 1970 From: afiskon@devzen.ru (Aleksander Alekseev) Date: Fri, 30 Sep 2016 16:25:57 +0300 Subject: How to disable building of -dbg Debian package? In-Reply-To: <20160930113951.nkkc2jkiaxzfsjqb@localhost.localdomain> References: <20160930141203.62458307@e754> <20160930113951.nkkc2jkiaxzfsjqb@localhost.localdomain> Message-ID: <20160930162557.4b28380b@e754> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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