mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <linux@rempel-privat.de>
Subject: [PATCH 1/3] remove CONFIG_DEBUG_INFO
Date: Tue,  4 Jun 2019 16:38:50 +0200	[thread overview]
Message-ID: <20190604143851.11928-1-r.czerwinski@pengutronix.de> (raw)

From: Oleksij Rempel <linux@rempel-privat.de>

The ELF file should have debug symbols, the binary should have no symbols any way.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
---
 Makefile       | 2 --
 common/Kconfig | 6 ------
 2 files changed, 8 deletions(-)

diff --git a/Makefile b/Makefile
index 29347b6780..3294bdb4fb 100644
--- a/Makefile
+++ b/Makefile
@@ -457,9 +457,7 @@ endif # $(dot-config)
 
 include $(srctree)/arch/$(ARCH)/Makefile
 
-ifdef CONFIG_DEBUG_INFO
 CFLAGS		+= -g
-endif
 
 # 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

             reply	other threads:[~2019-06-04 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04 14:38 Rouven Czerwinski [this message]
2019-06-04 14:38 ` [PATCH 2/3] add CONFIG_PBL_BREAK option Rouven Czerwinski
2019-06-07  6:33   ` Sascha Hauer
2019-06-04 14:38 ` [PATCH 3/3] add gdb helper scripts to load barebox symbols Rouven Czerwinski
2019-06-06 18:35   ` Roland Hieber

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=20190604143851.11928-1-r.czerwinski@pengutronix.de \
    --to=r.czerwinski@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=linux@rempel-privat.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox