#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2 2004-11-27 00:00:13.000000000 +0100
-+++ mtd/util/mkfs.jffs2.c 2005-01-31 22:52:33.830141174 +0100
+--- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2.patch
++++ mtd/util/mkfs.jffs2.c
@@ -92,7 +92,12 @@
struct filesystem_entry *files; /* Only relevant to directories */
};
#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- mtd/util/mkfs.jffs2.c~add-progress 2005-01-31 22:55:34.662944000 +0100
-+++ mtd/util/mkfs.jffs2.c 2005-01-31 23:45:50.604511261 +0100
+--- mtd/util/mkfs.jffs2.c~more-verbosity.patch
++++ mtd/util/mkfs.jffs2.c
@@ -374,6 +374,9 @@
struct filesystem_entry *entry;
struct ignorepath_entry* element = ignorepath;
+++ /dev/null
-diff -urN mtd.orig/fs/jffs2/compr_rtime.c mtd/fs/jffs2/compr_rtime.c
---- mtd.orig/fs/jffs2/compr_rtime.c 2004-04-02 20:36:01.000000000 -0500
-+++ mtd/fs/jffs2/compr_rtime.c 2004-04-02 20:35:37.000000000 -0500
-@@ -21,11 +21,7 @@
- *
- */
-
--#include <linux/kernel.h>
--#include <linux/types.h>
--#include <linux/errno.h>
--#include <linux/string.h>
--
-+#include <string.h>
- #include <stdint.h>
-
- /* _compress returns the compressed size, -1 if bigger */
+++ /dev/null
---- fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
-+++ fs/jffs2/compr_rtime.c 2004-04-01 00:07:53.000000000 +0100
-@@ -26,6 +26,8 @@
- #include <linux/errno.h>
- #include <linux/string.h>
-
-+#include <stdint.h>
-+
- /* _compress returns the compressed size, -1 if bigger */
- int jffs2_rtime_compress(unsigned char *data_in, unsigned char *cpage_out,
- uint32_t *sourcelen, uint32_t *dstlen)
DEPENDS = "zlib"
HOMEPAGE = "http://www.linux-mtd.infradead.org/"
LICENSE = "GPLv2"
-mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
- mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \
- flashcp nandwrite jffs2dump"
-PR = "r2"
+PR = "r0"
SRC_URI = "ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd-snapshot-${PV}.tar.bz2 \
file://add-exclusion-to-mkfs-jffs2.patch;patch=1 \
done
}
+mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \
+ mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \
+ flashcp nandwrite jffs2dump"
+
do_install () {
install -d ${D}${bindir}
for binary in ${mtd_utils}; do