]> www.infradead.org Git - mtd-utils.git/commitdiff
ubi-utils: move pfiflash to sort-me-out
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 18 Jan 2008 14:24:07 +0000 (16:24 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 18 Jan 2008 14:24:07 +0000 (16:24 +0200)
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/Makefile
ubi-utils/sort-me-out/README
ubi-utils/sort-me-out/pfiflash.c [moved from ubi-utils/src/pfiflash.c with 100% similarity]
ubi-utils/sort-me-out/pfiflash_error.h [moved from ubi-utils/src/pfiflash_error.h with 100% similarity]

index 517c8ecaec34e30025f21f690a51bcb45b1195d1..c551c022cd78b74cb98a55af355436d5c38144e6 100644 (file)
@@ -14,7 +14,7 @@ CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \
        -Wwrite-strings -W -std=gnu99 -DPACKAGE_VERSION=\"1.0\"
 
 PERLPROGS = mkpfi ubicrc32.pl
-TARGETS = ubiupdate ubimkvol ubirmvol pfiflash pddcustomize ubimirror \
+TARGETS = ubiupdate ubimkvol ubirmvol pddcustomize ubimirror \
        unubi pfi2bin ubicrc32 ubinfo \
        ubiattach ubidetach
 
@@ -62,10 +62,6 @@ pddcustomize: pddcustomize.o error.o libubimirror.o bootenv.o hashmap.o \
                libubi.o crc32.o
        $(CC) $(LDFLAGS) -o $@ $^
 
-pfiflash: pfiflash.o libpfiflash.o list.o reader.o error.o libubimirror.o \
-               bootenv.o hashmap.o pfi.o libubi.o crc32.o
-       $(CC) $(LDFLAGS) -o $@ $^
-
 ubimirror: ubimirror.o error.o libubimirror.o bootenv.o hashmap.o \
                libubi.o crc32.o
        $(CC) $(LDFLAGS) -o $@ $^
index 6a24555406f06193f2d90dac5e765ad97609684a..b52e28b34889df15404e2691252d33c9a9d64ccb 100644 (file)
@@ -51,3 +51,8 @@ This directory contains various stuff that has to be cleaned up and sorted out.
 
 * mkbootenv.c: no idea what is this about. Looks like something specific to IBM
   guys's setup.
+
+* pfiflash*: an utility to update UBI volumes described by a pfi file on
+  target. Nothing wrong with it, but it seems to be rather specific to IBM
+  guys' environment and it should be cleaned-up. It also should be documented
+  better.