aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-03-12 21:29:07 +0100
committerFelix Fietkau <nbd@nbd.name>2018-03-12 21:29:24 +0100
commit4fd87220567f1ae3ad209da1f602dc81c6b4d6b1 (patch)
tree0a2ef0e537d93729d66db4e0850843fd48310c33
parent15e963915963cda515311531b182b9e0c52f35a0 (diff)
downloadupstream-4fd87220567f1ae3ad209da1f602dc81c6b4d6b1.tar.gz
upstream-4fd87220567f1ae3ad209da1f602dc81c6b4d6b1.tar.bz2
upstream-4fd87220567f1ae3ad209da1f602dc81c6b4d6b1.zip
toolchain/binutils: exclude .rej files when unpacking the tarball
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--toolchain/binutils/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 1df6f94ae9..f6889cb0e8 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -13,6 +13,8 @@ BIN_VERSION:=$(PKG_VERSION)
PKG_SOURCE_URL:=@GNU/binutils/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+TAR_OPTIONS += --exclude='*.rej'
+
ifeq ($(PKG_VERSION),2.27)
PKG_HASH:=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88
endif