package/mtd-utils: update to 1.4.5

This updates packages/utils/mtd-utils and includes all patches from
tools/mtd-utils, so the two may eventually be merged.
I also added 150-fix_ubi-utils_static.patch which is a hack needed
to include libcrc32.o in the static binaries.
Having them static makes sense as only ubiformat is required on the target.

[juhosg:
- add build-time dependency on util-linux
- allow to specify dependency for each subpackage
- update ubifs optional lzo patch
- add more patches]

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31913 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-05-27 16:40:32 +00:00
parent 9685efd146
commit b797a23e77
8 changed files with 5337 additions and 60 deletions

View File

@ -1,6 +1,6 @@
--- a/mtd_debug.c
+++ b/mtd_debug.c
@@ -236,6 +236,7 @@ int showinfo (int fd)
@@ -238,6 +238,7 @@ int showinfo (int fd)
int i,err,n;
struct mtd_info_user mtd;
static struct region_info_user region[1024];
@ -8,7 +8,7 @@
err = getmeminfo (fd,&mtd);
if (err < 0)
@@ -328,6 +329,11 @@ int showinfo (int fd)
@@ -330,6 +331,11 @@ int showinfo (int fd)
printf ("\nmtd.oobsize = ");
printsize (mtd.oobsize);
@ -20,7 +20,7 @@
printf ("\n"
"regions = %d\n"
"\n",
@@ -347,6 +353,50 @@ int showinfo (int fd)
@@ -349,6 +355,50 @@ int showinfo (int fd)
return (0);
}
@ -68,6 +68,6 @@
+ return ibbCounter;
+}
+
void showusage (const char *progname)
void showusage(void)
{
fprintf (stderr,