toolchain/binutils: exclude .rej files when unpacking the tarball
[openwrt/openwrt.git] / 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