summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware/remove-external-toolchains.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-firmware/remove-external-toolchains.patch')
-rw-r--r--libre/linux-libre-firmware/remove-external-toolchains.patch22
1 files changed, 9 insertions, 13 deletions
diff --git a/libre/linux-libre-firmware/remove-external-toolchains.patch b/libre/linux-libre-firmware/remove-external-toolchains.patch
index a216c65bb..c38a20821 100644
--- a/libre/linux-libre-firmware/remove-external-toolchains.patch
+++ b/libre/linux-libre-firmware/remove-external-toolchains.patch
@@ -1,6 +1,6 @@
-From 9b5cc4a22720dd6f7486da3fa1f64e7ecf6f72a7 Mon Sep 17 00:00:00 2001
+From 56777561f6ff815ba8a8010ced3612997690e458 Mon Sep 17 00:00:00 2001
From: David P <megver83@parabola.nu>
-Date: Sun, 29 Apr 2018 13:54:13 -0300
+Date: Thu, 10 May 2018 22:27:41 -0300
Subject: [PATCH] remove external toolchains
Make ath9k_htc and carl9170fw build without depending on downloading compilers, and
@@ -10,7 +10,6 @@ Changes to src:
- ath9k_htc:
* target_firmware/configure: use the system's xtensa-elf cross-compiler
- * Makefile: set CFLAGS
* README: ommit the toolchain building instructions
* .travis.yml: remove `make toolchain' from script
* local: delete directory
@@ -30,7 +29,7 @@ Signed-off-by: David P <megver83@parabola.nu>
src/INSTALL | 10 +-
src/Makefile | 19 +-
src/ath9k_htc/.travis.yml | 1 -
- src/ath9k_htc/Makefile | 150 +-
+ src/ath9k_htc/Makefile | 146 +-
src/ath9k_htc/README | 14 +-
src/ath9k_htc/local/patches/binutils-2.27_fixup.patch | 13 -
src/ath9k_htc/local/patches/binutils.patch | 28962 ------------------------------------
@@ -42,7 +41,7 @@ Signed-off-by: David P <megver83@parabola.nu>
src/carl9170fw/extra/sh-elf-linux.cmake | 16 +-
src/carl9170fw/toolchain/Makefile | 104 -
src/carl9170fw/toolchain/SHA256SUMS | 14 -
- 15 files changed, 31 insertions(+), 29439 deletions(-)
+ 15 files changed, 28 insertions(+), 29438 deletions(-)
diff --git src/INSTALL src/INSTALL
index dfabf2a..be6c905 100644
@@ -134,17 +133,16 @@ index cfb0ee1..5a8db8f 100644
- make -C target_firmware
- make -C target_firmware clean
diff --git src/ath9k_htc/Makefile src/ath9k_htc/Makefile
-index ee5e61b..3f9c66d 100644
+index ee5e61b..f92feb8 100644
--- src/ath9k_htc/Makefile
+++ src/ath9k_htc/Makefile
-@@ -1,149 +1,11 @@
+@@ -1,149 +1,9 @@
-GMP_VER=6.1.1
-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=a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6
-+CFLAGS = -mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4 -fno-aggressive-loop-optimizations -Wno-implicit-function-declaration
-
+-
-MPFR_VER=3.1.4
-MPFR_URL=https://ftp.gnu.org/gnu/mpfr/mpfr-$(MPFR_VER).tar.bz2
-MPFR_TAR=mpfr-$(MPFR_VER).tar.bz2
@@ -278,12 +276,11 @@ index ee5e61b..3f9c66d 100644
clean:
$(MAKE) -C target_firmware clean
--
+
-firmware: toolchain
-+
+firmware:
+$(MAKE) -C target_firmware
--
+
-.PHONY: all toolchain-clean clean clean-dl download toolchain firmware
-
-$(eval $(call Build,GMP))
@@ -291,7 +288,6 @@ index ee5e61b..3f9c66d 100644
-$(eval $(call Build,MPC,GMP MPFR))
-$(eval $(call Build,BINUTILS))
-$(eval $(call Build,GCC,MPC MPFR))
-+
+.PHONY: all clean firmware
diff --git src/ath9k_htc/README src/ath9k_htc/README
index 93823e4..bd14e8f 100644