summaryrefslogtreecommitdiff
path: root/ubi-utils/Makefile
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-23 20:31:23 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-23 20:31:23 +0200
commit725a91ea5ee4914a5187f26f18372062733bf036 (patch)
treeed4d5b5ab019eb50bcf2db41c38fe9d7228e741e /ubi-utils/Makefile
parent8b8b18dbb8f8a8b58f3e96ca2970c645be735757 (diff)
ubi-utils: move ubi_jffs2_test.sh to better place
... to tests/ubi-tests/ Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/Makefile')
-rw-r--r--ubi-utils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index 6a0391f..abd5dc4 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -25,7 +25,7 @@ vpath %.c ./src
%.o: %.c
$(CC) $(CFLAGS) -g -c -o $@ $< -g -Wp,-MD,.$(shell basename $<).dep
-all: $(TARGETS)
+all: $(TARGETS) libubi
IGNORE=${wildcard .*.c.dep}
-include ${IGNORE}
@@ -33,6 +33,9 @@ IGNORE=${wildcard .*.c.dep}
clean:
rm -rf *.o $(TARGETS) .*.c.dep
+libubi: libubi.o
+ ar cr libubi.a libubi.o
+
ubinfo: ubinfo.o common.o libubi.o
$(CC) $(LDFLAGS) -o $@ $^