X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=599107aafb474fde7e0c60ac72388546956433bb;hb=014ff6fde0fab968eb5b4365e83a93a2fff452c2;hp=81f450073239d82300dcba766e16772b92ab5eb4;hpb=8804cc94e3b66550797279f540b960d18a78421f;p=open-ath9k-htc-firmware.git diff --git a/Makefile b/Makefile index 81f4500..599107a 100644 --- a/Makefile +++ b/Makefile @@ -1,89 +1,149 @@ -GMP_VER=5.0.5 -GMP_URL=http://ftp.gnu.org/gnu/gmp/gmp-$(GMP_VER).tar.bz2 +GMP_VER=6.1.2 +GMP_URL=https://ftp.gnu.org/gnu/gmp/gmp-$(GMP_VER).tar.bz2 GMP_TAR=gmp-$(GMP_VER).tar.bz2 +GMP_DIR=gmp-$(GMP_VER) +GMP_SUM=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2 -MPFR_VER=3.1.1 -MPFR_URL=http://ftp.gnu.org/gnu/mpfr/mpfr-$(MPFR_VER).tar.bz2 +MPFR_VER=3.1.6 +MPFR_URL=https://ftp.gnu.org/gnu/mpfr/mpfr-$(MPFR_VER).tar.bz2 MPFR_TAR=mpfr-$(MPFR_VER).tar.bz2 +MPFR_DIR=mpfr-$(MPFR_VER) +MPFR_SUM=cf4f4b2d80abb79e820e78c8077b6725bbbb4e8f41896783c899087be0e94068 -MPC_VER=1.0.1 -MPC_URL=http://ftp.gnu.org/gnu/mpc/mpc-$(MPC_VER).tar.gz +MPC_VER=1.0.3 +MPC_URL=https://ftp.gnu.org/gnu/mpc/mpc-$(MPC_VER).tar.gz MPC_TAR=mpc-$(MPC_VER).tar.gz +MPC_DIR=mpc-$(MPC_VER) +MPC_SUM=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3 -BINUTILS_VER=2.23.1 -BINUTILS_URL=http://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VER).tar.bz2 +BINUTILS_VER=2.29 +BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VER).tar.bz2 BINUTILS_TAR=binutils-$(BINUTILS_VER).tar.bz2 +BINUTILS_DIR=binutils-$(BINUTILS_VER) +BINUTILS_PATCHES=local/patches/binutils.patch +BINUTILS_SUM=29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf -GCC_VER=4.7.2 -GCC_URL=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VER)/gcc-$(GCC_VER).tar.bz2 -GCC_TAR=gcc-$(GCC_VER).tar.bz2 +GCC_VER=7.2.0 +GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VER)/gcc-$(GCC_VER).tar.gz +GCC_TAR=gcc-$(GCC_VER).tar.gz +GCC_DIR=gcc-$(GCC_VER) +GCC_PATCHES=local/patches/gcc.patch +GCC_SUM=0153a003d3b433459336a91610cca2995ee0fb3d71131bd72555f2231a6efcfc BASEDIR=$(shell pwd) TOOLCHAIN_DIR=$(BASEDIR)/toolchain TARGET=xtensa-elf +DL_DIR=$(TOOLCHAIN_DIR)/dl +BUILD_DIR=$(TOOLCHAIN_DIR)/build all: toolchain -gmp-$(GMP_VER): - wget -N -P $(TOOLCHAIN_DIR)/dl $(GMP_URL) - tar -C $(TOOLCHAIN_DIR)/dl -xjf $(TOOLCHAIN_DIR)/dl/$(GMP_TAR) - -gmp: gmp-$(GMP_VER) - mkdir -p $(TOOLCHAIN_DIR)/build/gmp - cd $(TOOLCHAIN_DIR)/build/gmp; \ - $(TOOLCHAIN_DIR)/dl/$