From a48340c335daba441c1f01a0cfce4d2ac6b2c9e1 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Tue, 26 May 2009 15:08:36 +0200 Subject: mkfs.ubifs: use libubi to format UBI volume libubi is now used to format directly UBI volume. Typing mkfs.ubifs /dev/ubi0_0 is now possible. dtypes should be ok as they are taken from UBIFS code. Signed-off-by: Corentin Chary Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mkfs.ubifs/Makefile') diff --git a/mkfs.ubifs/Makefile b/mkfs.ubifs/Makefile index e5bf9ce..a678b0a 100644 --- a/mkfs.ubifs/Makefile +++ b/mkfs.ubifs/Makefile @@ -1,8 +1,11 @@ + +CPPFLAGS += -I../include -I../ubi-utils/include + ALL_SOURCES=*.[ch] hashtable/*.[ch] TARGETS = mkfs.ubifs -LDLIBS_mkfs.ubifs = -lz -llzo2 -lm -luuid +LDLIBS_mkfs.ubifs = -lz -llzo2 -lm -luuid -L../ubi-utils/ -lubi include ../common.mk -- cgit v1.2.3