From: Peter Korsgaard Date: Sun, 24 Aug 2008 07:48:22 +0000 (-0000) Subject: toolchain/gdb: unbreak target gdb support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a5c59956bfb1a5b03848a058c1626edc59625eb;p=buildroot.git toolchain/gdb: unbreak target gdb support r22624 (Ulf: Add prepatched AVR32 gcc-4.2.2 toolchain) broke target gdb support as it tries to apply gdb patches twice. Unbreak it. Closes #3954. --- diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk index 6220cd9cbd..aa46380f27 100644 --- a/toolchain/gdb/gdb.mk +++ b/toolchain/gdb/gdb.mk @@ -62,10 +62,6 @@ endif touch $@ gdb-patched: $(GDB_DIR)/.unpacked -$(GDB_DIR)/.patched: $(GDB_DIR)/.unpacked - toolchain/patch-kernel.sh $(GDB_DIR) $(GDB_PATCH_DIR) \*.patch - $(CONFIG_UPDATE) $(GDB_DIR) - touch $@ gdb-dirclean: rm -rf $(GDB_DIR) @@ -88,7 +84,7 @@ GDB_TARGET_CONFIGURE_VARS:= \ bash_cv_func_sigsetjmp=present \ bash_cv_have_mbstate_t=yes -$(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.patched +$(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked mkdir -p $(GDB_TARGET_DIR) (cd $(GDB_TARGET_DIR); \ gdb_cv_func_sigsetjmp=yes \