[openwrt/openwrt] toolchain/binutils: exclude .rej files when unpacking the tarball

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 12 13:29:41 PDT 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/4fd87220567f1ae3ad209da1f602dc81c6b4d6b1

commit 4fd87220567f1ae3ad209da1f602dc81c6b4d6b1
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Mar 12 21:29:07 2018 +0100

    toolchain/binutils: exclude .rej files when unpacking the tarball
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 toolchain/binutils/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 1df6f94..f6889cb 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



More information about the lede-commits mailing list