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 <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-02-09 19:52:38 -08:00
parent 973664c906
commit a41978b95a

View File

@ -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