tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin...
[openwrt/staging/chunkeey.git] / tools / mtd-utils / patches / 120-cygwin_fixes.patch
index 61a6d5ef2dc8018e744abb3b479266f23af131d2..2b6cafedd304c5ca4522794c6465fe17e4e95488 100644 (file)
@@ -9,10 +9,10 @@
 +endif
 +
 +ifneq ($(shell uname -o),Cygwin)
- SUBDIRS = ubi-utils mkfs.ubifs
+ SUBDIRS = lib ubi-utils mkfs.ubifs
  
- TARGETS = ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
-@@ -17,6 +22,10 @@ TARGETS = ftl_format flash_erase flash_e
+ TARGETS = ftl_format flash_erase nanddump doc_loadbios \
+@@ -17,6 +22,10 @@ TARGETS = ftl_format flash_erase nanddum
        rfddump rfdformat \
        serve_image recv_image \
        sumtool #jffs2reader
@@ -20,9 +20,9 @@
 +SUBDIRS =
 +TARGETS = mkfs.jffs2
 +endif
+ SCRIPTS = flash_eraseall
  
  SYMLINKS =
 --- /dev/null
 +++ b/include/cygwin/bits-byteswap.h
 @@ -0,0 +1,132 @@