mtd: add a "mtd verify" call
[openwrt-working-2016/.git] / package / system / mtd / src / Makefile
index 4e6aee8eb5fa47d27dad28b5bfa0283719e4c9a6..645064674b1e1accdd1f459f2b30fd9c6924af93 100644 (file)
@@ -1,9 +1,10 @@
 CC = gcc
 CFLAGS += -Wall
+LDFLAGS += -lubox
 
-obj = mtd.o jffs2.o crc32.o
+obj = mtd.o jffs2.o crc32.o md5.o
 obj.seama = seama.o md5.o
-obj.ar71xx = trx.o
+obj.ar71xx = trx.o $(obj.seama)
 obj.brcm = trx.o
 obj.brcm47xx = $(obj.brcm)
 obj.brcm63xx = imagetag.o