From 62a710039ff2849c62cabb38efecad72243b10f5 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 18 Jan 2008 13:32:43 +0200 Subject: [PATCH] ubi-tools: move ubigen to sort-me-out This tool is not really needed and is unused. Signed-off-by: Artem Bityutskiy --- ubi-utils/Makefile | 5 +---- ubi-utils/sort-me-out/README | 4 ++++ ubi-utils/{src => sort-me-out}/ubigen.c | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename ubi-utils/{src => sort-me-out}/ubigen.c (100%) 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 similarity index 100% rename from ubi-utils/src/ubigen.c rename to ubi-utils/sort-me-out/ubigen.c -- 2.50.1