toolchain/binutils: exclude .rej files when unpacking the tarball
authorFelix Fietkau <nbd@nbd.name>
Mon, 12 Mar 2018 20:29:07 +0000 (21:29 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 12 Mar 2018 20:29:24 +0000 (21:29 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
toolchain/binutils/Makefile

index 1df6f94..f6889cb 100644 (file)
@@ -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