summaryrefslogtreecommitdiff
path: root/ubi-utils/tests/Makefile
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-20 17:28:32 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-20 17:29:33 +0200
commitb722adcdb1eb8d0321eb5c4112db925c815450fc (patch)
tree641c0f49048f898d2dba333e5b2c16f820e2a1cb /ubi-utils/tests/Makefile
parenteded3e909d8d7122ea1652940bb41bf5eef3ed55 (diff)
ubi-utils: add one more UBI test
Add rmvol test Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/tests/Makefile')
-rw-r--r--ubi-utils/tests/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/ubi-utils/tests/Makefile b/ubi-utils/tests/Makefile
index e296967..ca0069d 100644
--- a/ubi-utils/tests/Makefile
+++ b/ubi-utils/tests/Makefile
@@ -5,16 +5,15 @@ LIB=.
CC := $(CROSS)gcc
-ALL_FILES=libubi io_update
+ALL_FILES=libubi io_update rmvol integ
ALL_FILES+=io_paral io_read io_basic mkvol_basic mkvol_bad mkvol_paral rsvol
-ALL_FILES+=integ
CFLAGS += -Wall -I$(INCLUDE1) -I$(INCLUDE2) -L$(LIB) -ggdb
all: $(ALL_FILES)
libubi: ../src/libubi.c ../inc/libubi.h ../src/libubi_int.h
- $(CC) $(CFLAGS) -c ../src/libubi.c -o libubi.o
+ $(CC) $(CFLAGS) -DUDEV_SETTLE_HACK -c ../src/libubi.c -o libubi.o
ar cr libubi.a libubi.o
io_paral: io_paral.c common.c
@@ -33,6 +32,8 @@ mkvol_paral: mkvol_paral.c common.c
$(CC) $(CFLAGS) $^ -lubi -lpthread -o $@
rsvol: rsvol.c common.c
$(CC) $(CFLAGS) $^ -lubi -o $@
+rmvol: rmvol.c common.c
+ $(CC) $(CFLAGS) $^ -lubi -o $@
integ: integ.c
$(CC) $(CFLAGS) $^ -lubi -o $@