From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/gdb: also disable gprof
Date: Mon, 28 Sep 2020 22:11:27 +0200 [thread overview]
Message-ID: <20200928201128.78005-2-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20200928201128.78005-1-thomas.petazzoni@bootlin.com>
When gdb is built from sources fetched from Git, it contains both the
gdb and the binutils code base. In order to really build only gdb, we
disable a number of binutils components in the
GDB_DISABLE_BINUTILS_CONF_OPTS variable: --disable-binutils,
--disable-ld, --disable-gas, etc. However, gprof was still being
built, so disable it as well.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/gdb/gdb.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 2e5588bfbc..f31b168bf1 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -81,7 +81,8 @@ GDB_DISABLE_BINUTILS_CONF_OPTS = \
--disable-binutils \
--disable-install-libbfd \
--disable-ld \
- --disable-gas
+ --disable-gas \
+ --disable-gprof
GDB_CONF_ENV = \
ac_cv_type_uintptr_t=yes \
--
2.26.2
next prev parent reply other threads:[~2020-09-28 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 20:11 [Buildroot] [PATCH 1/2] package/gdb: fix build of gdbserver-only on the ARC gdb version Thomas Petazzoni
2020-09-28 20:11 ` Thomas Petazzoni [this message]
2020-09-30 20:52 ` [Buildroot] [PATCH 2/2] package/gdb: also disable gprof Yann E. MORIN
2020-10-02 20:33 ` Peter Korsgaard
2020-09-29 8:28 ` [Buildroot] [arc-buildroot] [PATCH 1/2] package/gdb: fix build of gdbserver-only on the ARC gdb version Alexey Brodkin
2020-09-30 20:52 ` [Buildroot] " Yann E. MORIN
2020-10-01 8:05 ` Thomas Petazzoni
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=20200928201128.78005-2-thomas.petazzoni@bootlin.com \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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