X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fcommon.mk;h=4970ccde8cf13d7a90ecdd54ffbe972e451d6234;hb=5d223006f93ed2a12810e573dc5c5c2cfa4d06a4;hp=c0bc3f8c5da1a3621e71a4113b95e5ab8e457485;hpb=ca6859aa2941be5a54f3793bb7de2d2868d3a467;p=oweals%2Fopenwrt.git diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index c0bc3f8c5d..4970ccde8c 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -44,10 +44,16 @@ ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro) PKG_MD5SUM:=e05be9ea8eca2ad4c859d35dbab568e7 endif ifeq ($(CONFIG_GCC_VERSION),"4.6-linaro") - PKG_REV:=4.6-2012.02 - PKG_VERSION:=4.6.3 + PKG_REV:=4.6-2012.10 + PKG_VERSION:=4.6.4 PKG_VERSION_MAJOR:=4.6 - PKG_MD5SUM:=2b7887846f8e5ac1ca58fe4dfaabf5a6 + PKG_MD5SUM:=acd304caf055ccaaca4e3ef61da11e7d + endif + ifeq ($(CONFIG_GCC_VERSION),"4.7-linaro") + PKG_REV:=4.7-2012.04 + PKG_VERSION:=4.7.1 + PKG_VERSION_MAJOR:=4.7 + PKG_MD5SUM:=6dab459c1177fc9ae2969e7a39549d44 endif PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/ PKG_SOURCE:=$(PKG_NAME)-linaro-$(PKG_REV).tar.bz2 @@ -73,6 +79,8 @@ PATCH_DIR=../patches/$(GCC_VERSION) BUGURL=https://dev.openwrt.org/ +HOST_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/toolchain-build.mk HOST_SOURCE_DIR:=$(HOST_BUILD_DIR) @@ -115,6 +123,7 @@ GCC_CONFIGURE:= \ $(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \ $(if $(CONFIG_mips64)$(CONFIG_mips64el),--with-arch=mips64 --with-abi=64) \ $(if $(CONFIG_GCC_VERSION_LLVM),--enable-llvm=$(BUILD_DIR_BASE)/host/llvm) \ + $(if $(CONFIG_sparc),--with-long-double-128) \ ifeq ($(CONFIG_GCC_LLVM),) GCC_BUILD_TARGET_LIBGCC:=y