mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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:
parent
973664c906
commit
a41978b95a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user