From a41978b95a06d57a971bafb99862a3dd030cb6ee Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 9 Feb 2017 19:52:38 -0800 Subject: Remove wrapping if in 300-gdb.sh If GDB is turned off, the script will not be even sourced. Otherwise, if GDB checkbox is set but none of the cross/native/gdbserver are selected, debug.sh gives a bogus error message. Signed-off-by: Alexey Neyman diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 2370964..57f4db7 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -1,7 +1,5 @@ # Build script for the gdb debug facility -if [ "${CT_GDB_CROSS}" = y -o "${CT_GDB_GDBSERVER}" = "y" -o "${CT_GDB_NATIVE}" = "y" ]; then - do_debug_gdb_get() { local linaro_version="" local linaro_series="" @@ -340,5 +338,3 @@ do_debug_gdb_build() { CT_EndStep fi } - -fi -- cgit v0.10.2-6-g49f6