[Buildroot] [git commit branch/2020.08.x] package/gdb: also disable gprof

Peter Korsgaard peter at korsgaard.com
Fri Oct 2 20:14:10 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=d1c13ab06593eb9b457a6fd4703d5046f4908822
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x

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 at bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 71719b91ee17fb99135a32c1d2504c57a329084a)
Signed-off-by: Peter Korsgaard <peter at korsgaard.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 8c74a0e2f6..4bd0187343 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -69,7 +69,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 \


More information about the buildroot mailing list