diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-09 19:52:38 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-09 21:21:57 -0800 |
commit | a41978b95a06d57a971bafb99862a3dd030cb6ee (patch) | |
tree | 42e18542b85404ff6d0f88872a3673bb9e0739bd | |
parent | 973664c906938d958892072a8c9016f2964d7a4c (diff) | |
download | crosstool-ng-a41978b95a06d57a971bafb99862a3dd030cb6ee.tar.gz crosstool-ng-a41978b95a06d57a971bafb99862a3dd030cb6ee.tar.bz2 crosstool-ng-a41978b95a06d57a971bafb99862a3dd030cb6ee.zip |
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>
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 23709643..57f4db7e 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 |