summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 16:24:07 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 16:24:07 +0200
commit0e9b3174b7410d36103d389b78758a97e8e2e941 (patch)
treec09fc54422b6ca0b4cb38905620d0ea36e08e5cd
parent25c8b07357a9428a30bfd02ab8d1145cc25a23c6 (diff)
ubi-utils: move pfiflash to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--ubi-utils/Makefile6
-rw-r--r--ubi-utils/sort-me-out/README5
-rw-r--r--ubi-utils/sort-me-out/pfiflash.c (renamed from ubi-utils/src/pfiflash.c)0
-rw-r--r--ubi-utils/sort-me-out/pfiflash_error.h (renamed from ubi-utils/src/pfiflash_error.h)0
4 files changed, 6 insertions, 5 deletions
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
index 754fe33..754fe33 100644
--- a/ubi-utils/src/pfiflash.c
+++ b/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
index 0f27f4a..0f27f4a 100644
--- a/ubi-utils/src/pfiflash_error.h
+++ b/ubi-utils/sort-me-out/pfiflash_error.h