toolchain/gdb: unbreak target gdb support
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Aug 2008 07:48:22 +0000 (07:48 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Aug 2008 07:48:22 +0000 (07:48 -0000)
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.

toolchain/gdb/gdb.mk

index 6220cd9cbd5ad5c6d801fbfd35b0d1fa6af92e86..aa46380f2782a98b9e1b6436150e7fc99e8a1a1d 100644 (file)
@@ -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 \