summaryrefslogtreecommitdiff
path: root/package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2009-12-23 10:41:36 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-23 14:49:54 +0100
commit9400c73582326c543fae82120af3904836145655 (patch)
tree3250d4200d424511c6e0e2bd1002b9fb22cc11ed /package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch
parentb21c77cc08eb8604011d1df6ac405fdacb46d1ad (diff)
Bump mtd-utils to 1.2.0
Closes #827. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch')
-rw-r--r--package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch b/package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch
new file mode 100644
index 000000000..606cb46d7
--- /dev/null
+++ b/package/mtd/mtd-utils/mtd-utils-1.2.0-all-disable-ubi.patch
@@ -0,0 +1,24 @@
+diff -Nura mtd-utils-1.2.0/Makefile mtd-utils-1.2.0-noubi/Makefile
+--- mtd-utils-1.2.0/Makefile 2008-06-27 13:21:28.000000000 -0300
++++ mtd-utils-1.2.0-noubi/Makefile 2009-12-23 10:26:25.000000000 -0300
+@@ -45,7 +45,6 @@
+ .SUFFIXES:
+
+ all: $(TARGETS)
+- make -C $(BUILDDIR)/ubi-utils
+
+ IGNORE=${wildcard $(BUILDDIR)/.*.c.dep}
+ -include ${IGNORE}
+@@ -53,7 +52,6 @@
+ clean:
+ rm -f $(BUILDDIR)/*.o $(TARGETS) $(BUILDDIR)/.*.c.dep $(SYMLINKS)
+ if [ "$(BUILDDIR)x" != ".x" ]; then rm -rf $(BUILDDIR); fi
+- make -C $(BUILDDIR)/ubi-utils clean
+
+ $(SYMLINKS):
+ ln -sf ../fs/jffs2/$@ $@
+@@ -95,4 +93,3 @@
+ install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
+ mkdir -p ${DESTDIR}/${MANDIR}/man1
+ gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
+- make -C $(BUILDDIR)/ubi-utils install