From c7a396f9b7f61bb6927b276188c075e47e9db0e7 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 8 Oct 2011 22:57:21 +0200 Subject: debug/gdb: new option to enable/disable use of python Add a new option to enable/disable the Python scripting in gdb. Hide the option (ie. disable it) when statically linking the cross-gdb. Signed-off-by: "Yann E. MORIN" --- 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 99356d76..289d26a9 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -118,6 +118,11 @@ do_debug_gdb_build() { none) cross_extra_config+=("--disable-threads");; *) cross_extra_config+=("--enable-threads");; esac + if [ "${CT_GDB_CROSS_PYTHON}" = "y" ]; then + cross_extra_config+=( "--with-python=yes" ) + else + cross_extra_config+=( "--with-python=no" ) + fi CC_for_gdb= LD_for_gdb= -- cgit v1.2.3