summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/Makefile
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2009-05-26 15:08:36 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-05-27 17:01:00 +0300
commita48340c335daba441c1f01a0cfce4d2ac6b2c9e1 (patch)
treef93104f64d9f20befbd2d76e6da193b5cbda0116 /mkfs.ubifs/Makefile
parent7c5cb0d07c0cb9c08285027fe08d86a863b0df7d (diff)
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 <corentincj@iksaif.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/Makefile')
-rw-r--r--mkfs.ubifs/Makefile5
1 files changed, 4 insertions, 1 deletions
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