summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 13:32:43 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 13:32:43 +0200
commit62a710039ff2849c62cabb38efecad72243b10f5 (patch)
tree1840c4cceac42dca71a04c6828580d9a4ea9938d
parent7bd1747ad5a5c2a53e465b565d879ee47fa16415 (diff)
ubi-tools: move ubigen to sort-me-out
This tool is not really needed and is unused. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--ubi-utils/Makefile5
-rw-r--r--ubi-utils/sort-me-out/README4
-rw-r--r--ubi-utils/sort-me-out/ubigen.c (renamed from ubi-utils/src/ubigen.c)0
3 files changed, 5 insertions, 4 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index 155d1ba..68fe0fb 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -15,7 +15,7 @@ CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \
PERLPROGS = mkpfi ubicrc32.pl
TARGETS = ubiupdate ubimkvol ubirmvol pfiflash pddcustomize ubimirror \
- bin2nand nand2bin ubigen mkbootenv unubi pfi2bin ubicrc32 ubinfo \
+ bin2nand nand2bin mkbootenv unubi pfi2bin ubicrc32 ubinfo \
ubiattach ubidetach
vpath %.c ./src
@@ -73,9 +73,6 @@ nand2bin: nand2bin.o nandecc.o nandcorr.o
bin2nand: bin2nand.o error.o nandecc.o
$(CC) $(LDFLAGS) -o $@ $^
-ubigen: ubigen.o libubigen.o crc32.o common.o
- $(CC) $(LDFLAGS) -o $@ $^
-
mkbootenv: mkbootenv.o bootenv.o hashmap.o error.o crc32.o
$(CC) $(LDFLAGS) -o $@ $^
diff --git a/ubi-utils/sort-me-out/README b/ubi-utils/sort-me-out/README
index 7dd45c1..8ca9bdc 100644
--- a/ubi-utils/sort-me-out/README
+++ b/ubi-utils/sort-me-out/README
@@ -3,3 +3,7 @@ This directory contains various stuff that has to be cleaned up and sorted out.
* jffs2_test.sh: this has nothing to do to UBI. And the test is quite trivial,
so it is questionable if it should not be deleted. Anyway, if we want this,
it has to be moved to mtd-utils.git/tests/fs-tests.
+
+* ubigen.c: this utility adds UBI headers to an image file, but does not
+ generate the volume table. It is probably useless, but one might find it
+ interesting, so we do not drop it so far and keep here.
diff --git a/ubi-utils/src/ubigen.c b/ubi-utils/sort-me-out/ubigen.c
index 3b1fc0e..3b1fc0e 100644
--- a/ubi-utils/src/ubigen.c
+++ b/ubi-utils/sort-me-out/ubigen.c