diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-04 08:39:35 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-04 08:39:35 +0000 |
commit | 126bb72fa0610c18eed3b62bf5d32ae331bdb9c6 (patch) | |
tree | 1d5aad1fbed6338c0d8444a59e65fd660807c64e /toolchain/gdb/gdb.mk | |
parent | 9c0ef0b0a9e2409e073c6964d9057be16ff893f6 (diff) |
Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory
Diffstat (limited to 'toolchain/gdb/gdb.mk')
-rw-r--r-- | toolchain/gdb/gdb.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/toolchain/gdb/gdb.mk b/toolchain/gdb/gdb.mk index e8208b428..6220cd9cb 100644 --- a/toolchain/gdb/gdb.mk +++ b/toolchain/gdb/gdb.mk @@ -27,7 +27,7 @@ GDB_CAT:=$(BZCAT) ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y) GDB_SITE:=$(VENDOR_SITE) -GDB_PATCH_DIR:=$(VENDOR_PATCH_DIR)/gdb-$(GDB_OFFICIAL_VERSION) +GDB_PATCH_DIR:=toolchain/gdb/ext_source/$(VENDOR_PATCH_DIR)/$(GDB_OFFICIAL_VERSION) else GDB_SITE:=$(BR2_GNU_MIRROR)/gdb GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION) @@ -61,6 +61,12 @@ endif $(CONFIG_UPDATE) $(GDB_DIR) 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) @@ -82,7 +88,7 @@ GDB_TARGET_CONFIGURE_VARS:= \ bash_cv_func_sigsetjmp=present \ bash_cv_have_mbstate_t=yes -$(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked +$(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.patched mkdir -p $(GDB_TARGET_DIR) (cd $(GDB_TARGET_DIR); \ gdb_cv_func_sigsetjmp=yes \ |