diff options
Diffstat (limited to 'meta/packages/mtd/mtd-utils/remove-ubi.patch')
-rw-r--r-- | meta/packages/mtd/mtd-utils/remove-ubi.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/packages/mtd/mtd-utils/remove-ubi.patch b/meta/packages/mtd/mtd-utils/remove-ubi.patch new file mode 100644 index 0000000000..a788fd0fd5 --- /dev/null +++ b/meta/packages/mtd/mtd-utils/remove-ubi.patch @@ -0,0 +1,33 @@ +--- + Makefile | 3 --- + 1 file changed, 3 deletions(-) + +--- git.orig/Makefile ++++ git/Makefile +@@ -41,19 +41,17 @@ $(BUILDDIR)/%.o: %.c + $(CC) $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,$(BUILDDIR)/.$(<F).dep + + .SUFFIXES: + + all: $(TARGETS) +- make -C $(BUILDDIR)/ubi-utils + + IGNORE=${wildcard $(BUILDDIR)/.*.c.dep} + -include ${IGNORE} + + 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/$@ $@ + + $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc32.o \ +@@ -91,6 +89,5 @@ $(BUILDDIR)/fectest: $(BUILDDIR)/fectest + install: ${TARGETS} + mkdir -p ${DESTDIR}/${SBINDIR} + install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/ + mkdir -p ${DESTDIR}/${MANDIR}/man1 + gzip -c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz +- make -C $(BUILDDIR)/ubi-utils install |