From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hZ9Hh-0004BU-VK for barebox@lists.infradead.org; Fri, 07 Jun 2019 07:27:35 +0000 Date: Fri, 7 Jun 2019 09:27:31 +0200 From: Sascha Hauer Message-ID: <20190607072731.zi2yehpfsywghevb@pengutronix.de> References: <20190607070658.10919-1-r.czerwinski@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190607070658.10919-1-r.czerwinski@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v3 1/3] remove CONFIG_DEBUG_INFO To: Rouven Czerwinski Cc: barebox@lists.infradead.org, Oleksij Rempel On Fri, Jun 07, 2019 at 09:06:57AM +0200, Rouven Czerwinski wrote: > From: Oleksij Rempel > > The ELF file should have debug symbols, the binary should have no symbols any way. > > Signed-off-by: Oleksij Rempel > Signed-off-by: Rouven Czerwinski > --- > Makefile | 4 +--- > common/Kconfig | 6 ------ > 2 files changed, 1 insertion(+), 9 deletions(-) Applied, thanks Sascha > > diff --git a/Makefile b/Makefile > index 29347b6780..900117e727 100644 > --- a/Makefile > +++ b/Makefile > @@ -457,9 +457,7 @@ endif # $(dot-config) > > include $(srctree)/arch/$(ARCH)/Makefile > > -ifdef CONFIG_DEBUG_INFO > -CFLAGS += -g > -endif > +CFLAGS += -ggdb3 > > # Force gcc to behave correct even for buggy distributions > CFLAGS += $(call cc-option, -fno-stack-protector) > diff --git a/common/Kconfig b/common/Kconfig > index 7832df5c55..ffb7537592 100644 > --- a/common/Kconfig > +++ b/common/Kconfig > @@ -999,12 +999,6 @@ config DEFAULT_LOGLEVEL > 7 debug-level messages (debug) > 8 verbose debug messages (vdebug) > > -config DEBUG_INFO > - bool > - prompt "enable debug symbols" > - help > - Enable build of barebox with -g. > - > config DEBUG_LL > bool > depends on HAS_DEBUG_LL > -- > 2.21.0 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox