oops... forgot to make x86-2.6 ext2 images use preinit as well :)
[openwrt.git] / include / unpack.mk
index e533476..7813e3b 100644 (file)
@@ -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
This page took 0.019817 seconds and 4 git commands to generate.