diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-05 23:01:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-05 23:01:51 +0000 |
commit | 504aab67db9f7d0ec7996796add85d2d4b798ae4 (patch) | |
tree | 45a9691ce93905db40ba6d2056b1cce17f30798e /misc/buildroot/toolchain/gdb | |
parent | 985473319cd77dd5e966c56a915dfea45222f613 (diff) | |
download | nuttx-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')
-rw-r--r-- | misc/buildroot/toolchain/gdb/Config.in | 5 | ||||
-rw-r--r-- | misc/buildroot/toolchain/gdb/gdb.mk | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gdb/Config.in b/misc/buildroot/toolchain/gdb/Config.in index fbea5b143..ebe8578a9 100644 --- a/misc/buildroot/toolchain/gdb/Config.in +++ b/misc/buildroot/toolchain/gdb/Config.in @@ -40,9 +40,14 @@ choice bool "gdb 6.8" depends on !BR2_avr32 + config BR2_GDB_VERSION_7_4 + config BR2_GDB_VERSION_7_4 + depends on !BR2_bfin + endchoice config BR2_GDB_VERSION string default "6.3" if BR2_GDB_VERSION_6_3 default "6.8" if BR2_GDB_VERSION_6_8 + default "7.4.1" if BR2_GDB_VERSION_7_4 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 |