From: Artem Bityutskiy Date: Fri, 18 Jan 2008 14:24:07 +0000 (+0200) Subject: ubi-utils: move pfiflash to sort-me-out X-Git-Tag: v1.2.0~88 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0e9b3174b7410d36103d389b78758a97e8e2e941;p=mtd-utils.git ubi-utils: move pfiflash to sort-me-out Signed-off-by: Artem Bityutskiy --- diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 517c8ec..c551c02 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -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 $@ $^ diff --git a/ubi-utils/sort-me-out/README b/ubi-utils/sort-me-out/README index 6a24555..b52e28b 100644 --- a/ubi-utils/sort-me-out/README +++ b/ubi-utils/sort-me-out/README @@ -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. diff --git a/ubi-utils/src/pfiflash.c b/ubi-utils/sort-me-out/pfiflash.c similarity index 100% rename from ubi-utils/src/pfiflash.c rename to ubi-utils/sort-me-out/pfiflash.c diff --git a/ubi-utils/src/pfiflash_error.h b/ubi-utils/sort-me-out/pfiflash_error.h similarity index 100% rename from ubi-utils/src/pfiflash_error.h rename to ubi-utils/sort-me-out/pfiflash_error.h