2
1

mtd-utils-1.2.0-all-disable-ubi.patch 797 B

123456789101112131415161718192021222324
  1. diff -Nura mtd-utils-1.2.0/Makefile mtd-utils-1.2.0-noubi/Makefile
  2. --- mtd-utils-1.2.0/Makefile 2008-06-27 13:21:28.000000000 -0300
  3. +++ mtd-utils-1.2.0-noubi/Makefile 2009-12-23 10:26:25.000000000 -0300
  4. @@ -45,7 +45,6 @@
  5. .SUFFIXES:
  6. all: $(TARGETS)
  7. - make -C $(BUILDDIR)/ubi-utils
  8. IGNORE=${wildcard $(BUILDDIR)/.*.c.dep}
  9. -include ${IGNORE}
  10. @@ -53,7 +52,6 @@
  11. clean:
  12. rm -f $(BUILDDIR)/*.o $(TARGETS) $(BUILDDIR)/.*.c.dep $(SYMLINKS)
  13. if [ "$(BUILDDIR)x" != ".x" ]; then rm -rf $(BUILDDIR); fi
  14. - make -C $(BUILDDIR)/ubi-utils clean
  15. $(SYMLINKS):
  16. ln -sf ../fs/jffs2/$@ $@
  17. @@ -95,4 +93,3 @@
  18. install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
  19. mkdir -p ${DESTDIR}/${MANDIR}/man1
  20. gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
  21. - make -C $(BUILDDIR)/ubi-utils install