diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 15:04:39 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-09 15:04:39 +0000 |
commit | 26a637aed7bbed1c0c8f736b08e9ac0783823798 (patch) | |
tree | ff72be25b8935b94f2f0db4cd53d0b6fc5d462be /meta/packages/mtd/mtd-utils/remove-ubi.patch | |
parent | 6c55027ce945943d8c1ccb89c3b632dfab05325d (diff) | |
download | poky-26a637aed7bbed1c0c8f736b08e9ac0783823798.tar.gz |
mtd-utils: update to git HEAD
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4221 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 @@ | |||
1 | --- | ||
2 | Makefile | 3 --- | ||
3 | 1 file changed, 3 deletions(-) | ||
4 | |||
5 | --- git.orig/Makefile | ||
6 | +++ git/Makefile | ||
7 | @@ -41,19 +41,17 @@ $(BUILDDIR)/%.o: %.c | ||
8 | $(CC) $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,$(BUILDDIR)/.$(<F).dep | ||
9 | |||
10 | .SUFFIXES: | ||
11 | |||
12 | all: $(TARGETS) | ||
13 | - make -C $(BUILDDIR)/ubi-utils | ||
14 | |||
15 | IGNORE=${wildcard $(BUILDDIR)/.*.c.dep} | ||
16 | -include ${IGNORE} | ||
17 | |||
18 | clean: | ||
19 | rm -f $(BUILDDIR)/*.o $(TARGETS) $(BUILDDIR)/.*.c.dep $(SYMLINKS) | ||
20 | if [ "$(BUILDDIR)x" != ".x" ]; then rm -rf $(BUILDDIR); fi | ||
21 | - make -C $(BUILDDIR)/ubi-utils clean | ||
22 | |||
23 | $(SYMLINKS): | ||
24 | ln -sf ../fs/jffs2/$@ $@ | ||
25 | |||
26 | $(BUILDDIR)/mkfs.jffs2: $(BUILDDIR)/crc32.o \ | ||
27 | @@ -91,6 +89,5 @@ $(BUILDDIR)/fectest: $(BUILDDIR)/fectest | ||
28 | install: ${TARGETS} | ||
29 | mkdir -p ${DESTDIR}/${SBINDIR} | ||
30 | install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/ | ||
31 | mkdir -p ${DESTDIR}/${MANDIR}/man1 | ||
32 | gzip -c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz | ||
33 | - make -C $(BUILDDIR)/ubi-utils install | ||