summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/gdb/gdb.mk
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-05 23:01:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-05 23:01:51 +0000
commit504aab67db9f7d0ec7996796add85d2d4b798ae4 (patch)
tree45a9691ce93905db40ba6d2056b1cce17f30798e /misc/buildroot/toolchain/gdb/gdb.mk
parent985473319cd77dd5e966c56a915dfea45222f613 (diff)
downloadnuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.tar.gz
nuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.tar.bz2
nuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.zip
Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gdb/gdb.mk')
-rw-r--r--misc/buildroot/toolchain/gdb/gdb.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gdb/gdb.mk b/misc/buildroot/toolchain/gdb/gdb.mk
index aa9e126bc..0f0f7e89b 100644
--- a/misc/buildroot/toolchain/gdb/gdb.mk
+++ b/misc/buildroot/toolchain/gdb/gdb.mk
@@ -36,7 +36,9 @@ ifeq ($(GDB_VERSION),snapshot)
tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1)
ln -sf $(TOOL_BUILD_DIR)/$(shell tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) $(GDB_DIR)
endif
+ifneq ($(wildcard toolchain/gdb/$(GDB_VERSION)),)
toolchain/patch-kernel.sh $(GDB_DIR) toolchain/gdb/$(GDB_VERSION) \*.patch
+endif
$(CONFIG_UPDATE) $(GDB_DIR)
touch $(GDB_DIR)/.unpacked