From 22f5fe49d60ea43524a902408b3112a78f2c5aae Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 22 Jan 2008 16:02:52 +0200 Subject: ubi-utils: massive changes This commit basically removes most of the old ubi utilities as they are barely maintainamble. Signed-off-by: Artem Bityutskiy --- ubi-utils/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ubi-utils/Makefile') diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index a6062a2..1f8e543 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -10,8 +10,7 @@ MANDIR=/usr/man INCLUDEDIR=/usr/include CC := $(CROSS)gcc -CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \ - -Wwrite-strings -W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" +CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror -Wall -O0 -g PERLPROGS = mkpfi TARGETS = ubiupdate ubimkvol ubirmvol ubicrc32 ubinfo ubiattach ubidetach \ @@ -60,8 +59,8 @@ ubicrc32: ubicrc32.o crc32.o unubi: unubi.o crc32.o unubi_analyze.o eb_chain.o $(CC) $(LDFLAGS) -o $@ $^ -pfi2bin: pfi2bin.o common.o peb.o list.o crc32.o libubigen.o bootenv.o \ - hashmap.o reader.o pfi.o +pfi2bin: pfi2bin.o common.o list.o crc32.o libubigen.o bootenv.o \ + hashmap.o libpfi.o common.o $(CC) $(LDFLAGS) -o $@ $^ install: ${TARGETS} -- cgit v1.2.3