From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 28 Sep 2020 22:11:27 +0200 Subject: [Buildroot] [PATCH 2/2] package/gdb: also disable gprof In-Reply-To: <20200928201128.78005-1-thomas.petazzoni@bootlin.com> References: <20200928201128.78005-1-thomas.petazzoni@bootlin.com> Message-ID: <20200928201128.78005-2-thomas.petazzoni@bootlin.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 --- 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