update gdb & stlink for devkitARM

This commit is contained in:
Dave Murphy 2013-09-04 10:06:31 +01:00
parent 0c0cf5f076
commit 722d723f96
3 changed files with 34 additions and 2 deletions

View File

@ -45,7 +45,7 @@ ELF2DOL_VER=1.0.0
WIILOAD_VER=0.5.1
MMUTIL_VER=1.8.6
DFU_UTIL_VER=0.7
STLINK_VER=0.5.5
STLINK_VER=0.5.7
#---------------------------------------------------------------------------------
function extract_and_patch {

View File

@ -0,0 +1,32 @@
diff -Nbaur gdb-7.6.1/gdb/Makefile.in gdb-7.6.1-arm/gdb/Makefile.in
--- gdb-7.6.1/gdb/Makefile.in 2013-04-02 18:38:43.000000000 +0100
+++ gdb-7.6.1-arm/gdb/Makefile.in 2013-09-03 22:09:56.000000000 +0100
@@ -2192,10 +2192,8 @@
# Note that we put the dependencies into a .Tpo file, then move them
# into place if the compile succeeds. We need this because gcc does
# not atomically write the dependency output file.
-@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \
-@GMAKE_TRUE@ -MF $(DEPDIR)/$(basename $(@F)).Tpo
-@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \
-@GMAKE_TRUE@ $(DEPDIR)/$(basename $(@F)).Po
+@GMAKE_TRUE@override COMPILE.post = -c -o $@
+@GMAKE_TRUE@override POSTCOMPILE =
@GMAKE_TRUE@else
@GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \
@GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC)
diff -Nbaur gdb-7.6.1/sim/common/Make-common.in gdb-7.6.1-arm/sim/common/Make-common.in
--- gdb-7.6.1/sim/common/Make-common.in 2013-01-01 06:41:33.000000000 +0000
+++ gdb-7.6.1-arm/sim/common/Make-common.in 2013-09-03 22:09:56.000000000 +0100
@@ -418,10 +418,8 @@
# Note that we put the dependencies into a .Tpo file, then move them
# into place if the compile succeeds. We need this because gcc does
# not atomically write the dependency output file.
-@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \
-@GMAKE_TRUE@ -MF $(DEPDIR)/$(basename $(@F)).Tpo
-@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \
-@GMAKE_TRUE@ $(DEPDIR)/$(basename $(@F)).Po
+@GMAKE_TRUE@override COMPILE.post = -c -o $@
+@GMAKE_TRUE@override POSTCOMPILE =
@GMAKE_TRUE@else
@GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \
@GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC)

View File

@ -33,7 +33,7 @@ case "$VERSION" in
GCC_VER=4.8.1
BINUTILS_VER=2.23.1
NEWLIB_VER=2.0.0
GDB_VER=7.6
GDB_VER=7.6.1
basedir='dkarm-eabi'
package=devkitARM
target=arm-none-eabi