X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a62e667d7c6a3e4cbcf1a0549acc93a4d1dbdf1c..1b8ec058f81b3778ab74492f0b8773286880a338:/toolchain/binutils/Makefile diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index c9da2cfd7..5ded5f242 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -8,6 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=binutils PKG_VERSION:=$(call qstrip,$(CONFIG_BINUTILS_VERSION)) +BIN_VERSION:=$(PKG_VERSION) PKG_SOURCE_URL:=@GNU/binutils/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -18,6 +19,19 @@ endif ifeq ($(PKG_VERSION),2.19.1) PKG_MD5SUM:=09a8c5821a2dfdbb20665bc0bd680791 endif +ifeq ($(PKG_VERSION),2.19.1+cs) + BIN_VERSION:=20090205 + PKG_SOURCE:=$(PKG_NAME)-$(BIN_VERSION).tar.bz2 + PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources + PKG_MD5SUM:=040740e8c864dd1a15886753f9c0bc0b + HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/binutils-$(BIN_VERSION) +endif +ifeq ($(PKG_VERSION),2.20) + PKG_MD5SUM:=ee2d3e996e9a2d669808713360fa96f8 +endif +ifeq ($(PKG_VERSION),2.20.1) + PKG_MD5SUM:=9cdfb9d6ec0578c166d3beae5e15c4e5 +endif PATCH_DIR:=./patches/$(PKG_VERSION) @@ -35,6 +49,10 @@ BINUTILS_CONFIGURE:= \ --disable-multilib \ --disable-werror \ --disable-nls \ + $(if $(CONFIG_GCC_VERSION_4_4), \ + --with-ppl=$(REAL_STAGING_DIR_HOST) \ + --with-cloog=$(REAL_STAGING_DIR_HOST) \ + ) \ $(SOFT_FLOAT_CONFIG_OPTION) \ $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \