summaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-10 03:52:38 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-10 05:21:57 (GMT)
commita41978b95a06d57a971bafb99862a3dd030cb6ee (patch)
tree42e18542b85404ff6d0f88872a3673bb9e0739bd /scripts/build/debug
parent973664c906938d958892072a8c9016f2964d7a4c (diff)
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>
Diffstat (limited to 'scripts/build/debug')
-rw-r--r--scripts/build/debug/300-gdb.sh4
1 files changed, 0 insertions, 4 deletions
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