diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 16:27:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-04 16:27:11 +0000 |
commit | bc60eb3610c458c103576ef9bbceee9abcef2922 (patch) | |
tree | d310993916c4c0ce18b1a2891dea55dd190c9fb6 /include/unpack.mk | |
parent | d14f611eb1f7dc25905f639366e2604444aa1804 (diff) | |
download | mtk-20170518-bc60eb3610c458c103576ef9bbceee9abcef2922.zip mtk-20170518-bc60eb3610c458c103576ef9bbceee9abcef2922.tar.gz mtk-20170518-bc60eb3610c458c103576ef9bbceee9abcef2922.tar.bz2 |
add a crlf workaround similar to the one from freewrt
SVN-Revision: 6507
Diffstat (limited to 'include/unpack.mk')
-rw-r--r-- | include/unpack.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unpack.mk b/include/unpack.mk index e533476..7813e3b 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -17,4 +17,7 @@ ifeq ($(strip $(PKG_UNPACK)),) else # try to autodetect file type endif + ifneq ($(strip $(CRLF_WORKAROUND)),) + PKG_UNPACK += && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g' + endif endif |