From: Alexandru Ardelean Date: Wed, 17 Apr 2019 06:11:14 +0000 (+0300) Subject: include: unpack.mk: remove CRLF_WORKAROUND X-Git-Tag: v19.07.0-rc1~768 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a829af69abfc3e054b9c85d55d29844a1820397;p=oweals%2Fopenwrt.git include: unpack.mk: remove CRLF_WORKAROUND This patch doesn't seem to have any more users. The only one used to be target in `target/linux/etrax/image/e100boot/Makefile`. That target has since been removed via commit 1080f68b2b422f1e72e402765a45d0cc3c550825 . There doesn't seem to be any reason left for this workaround. Signed-off-by: Alexandru Ardelean --- diff --git a/include/unpack.mk b/include/unpack.mk index a139827490..6141b1c722 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -58,18 +58,13 @@ ifeq ($(strip $(UNPACK_CMD)),) UNPACK_CMD=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) endif endif - ifneq ($(strip $(CRLF_WORKAROUND)),) - CRLF_CMD := && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g' - else - CRLF_CMD := - endif endif ifdef PKG_BUILD_DIR - PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR)) + PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) endif ifdef HOST_BUILD_DIR - HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR)) + HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) endif endif # PKG_SOURCE