From 500ee00f22ef0e48da06d9fb7da552ddae090fa6 Mon Sep 17 00:00:00 2001 From: "Benoît THÉBAUDEAU\"" Date: Tue, 31 May 2011 21:03:03 +0200 Subject: gdb: use the PKGVERSION and BUGURL options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch makes gdb benefit from the TOOLCHAIN_PKGVERSION and TOOLCHAIN_BUGURL options. Signed-off-by: "Benoît THÉBAUDEAU" --- scripts/build/debug/300-gdb.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/build/debug') diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index a426f4ac..be99e17c 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -98,6 +98,11 @@ do_debug_gdb_build() { 6.2*|6.3) extra_config+=("--disable-gdbmi");; esac + if [ "${CT_GDB_HAS_PKGVERSION_BUGURL}" = "y" ]; then + [ -n "${CT_TOOLCHAIN_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_TOOLCHAIN_PKGVERSION}") + [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") + fi + if [ "${CT_GDB_CROSS}" = "y" ]; then local -a cross_extra_config -- cgit v1.2.3