lantiq: Tune the XWAY subtarget cflags
[openwrt.git] / package / mtd / src / Makefile
index 68a632d..4e6aee8 100644 (file)
@@ -2,9 +2,17 @@ CC = gcc
 CFLAGS += -Wall
 
 obj = mtd.o jffs2.o crc32.o
+obj.seama = seama.o md5.o
+obj.ar71xx = trx.o
 obj.brcm = trx.o
 obj.brcm47xx = $(obj.brcm)
+obj.brcm63xx = imagetag.o
+obj.ramips = $(obj.seama)
+
+ifdef FIS_SUPPORT
+  obj += fis.o
+endif
 
 mtd: $(obj) $(obj.$(TARGET))
 clean:
-       rm -f *.o jffs2 
+       rm -f *.o jffs2