Skip to content

Commit

Permalink
binutils and GDB update
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen authored and Sebastien Bourdeauducq committed Nov 5, 2013
1 parent 66d9bf0 commit a748e57
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions compile-lm32-rtems/Makefile
Expand Up @@ -24,13 +24,13 @@ RTEMS_SOURCES_URL=http://www.rtems.org/ftp/pub/rtems/SOURCES/$(RTEMS_VERSION)
WGET=wget -c -O
# WGET=curl -o

BINUTILS_VERSION=2.22
BINUTILS_VERSION=2.23.90
GCC_CORE_VERSION=4.5.4
NEWLIB_VERSION=1.20.0
GDB_VERSION=7.4.1
GDB_VERSION=7.5.1
GMP_VERSION=4.3.2
MPC_VERSION=0.8.1
MPFR_VERSION=2.4.2
MPC_VERSION=1.0.1
MPFR_VERSION=3.1.2

BINUTILS=binutils-$(BINUTILS_VERSION).tar.bz2
GCC_CORE=gcc-core-$(GCC_CORE_VERSION).tar.bz2
Expand All @@ -40,10 +40,9 @@ GMP=gmp-$(GMP_VERSION).tar.bz2
MPC=mpc-$(MPC_VERSION).tar.gz
MPFR=mpfr-$(MPFR_VERSION).tar.bz2

BINUTILS_PATCH=binutils-$(BINUTILS_VERSION)-rtems$(RTEMS_VERSION)-20120427.diff
GCC_CORE_PATCH=gcc-core-$(GCC_CORE_VERSION)-rtems$(RTEMS_VERSION)-20120703.diff
NEWLIB_PATCH=newlib-$(NEWLIB_VERSION)-rtems$(RTEMS_VERSION)-20120705.diff
GDB_PATCH=gdb-$(GDB_VERSION)-rtems$(RTEMS_VERSION)-20120706.diff
NEWLIB_PATCH=newlib-$(NEWLIB_VERSION)-rtems$(RTEMS_VERSION)-20130325.diff
GDB_PATCH=gdb-$(GDB_VERSION)-rtems$(RTEMS_VERSION)-20121130.diff

DL=$(if $(wildcard ../dl/.),../dl,dl)

Expand Down Expand Up @@ -90,8 +89,6 @@ gcc-$(GCC_CORE_VERSION)/newlib: .unzip.ok
ln -s ../newlib-$(NEWLIB_VERSION)/newlib

.patch.ok: .unzip.ok $(RTEMS_PATCHES_DIR)/.ok
cd binutils-$(BINUTILS_VERSION) && \
patch -p1 < ../$(RTEMS_PATCHES_DIR)/$(BINUTILS_PATCH)
cd gcc-$(GCC_CORE_VERSION) && \
patch -p1 < ../$(RTEMS_PATCHES_DIR)/$(GCC_CORE_PATCH)
cd newlib-$(NEWLIB_VERSION) && \
Expand Down Expand Up @@ -129,8 +126,6 @@ gcc-$(GCC_CORE_VERSION)/newlib: .unzip.ok

$(RTEMS_PATCHES_DIR)/.ok:
mkdir -p $(RTEMS_PATCHES_DIR)
$(WGET) $(RTEMS_PATCHES_DIR)/$(BINUTILS_PATCH) \
$(RTEMS_SOURCES_URL)/$(BINUTILS_PATCH)
$(WGET) $(RTEMS_PATCHES_DIR)/$(GCC_CORE_PATCH) \
$(RTEMS_SOURCES_URL)/$(GCC_CORE_PATCH)
$(WGET) $(RTEMS_PATCHES_DIR)/$(NEWLIB_PATCH) \
Expand Down

0 comments on commit a748e57

Please sign in to comment.