From 82cd54f3ea9325bbd7958526f261ef6121896270 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 23 Sep 2008 09:23:58 +0000 Subject: clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12655 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mtd/src/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package/mtd/src/Makefile') diff --git a/package/mtd/src/Makefile b/package/mtd/src/Makefile index 5ab7d7b1e7..68a632d5ac 100644 --- a/package/mtd/src/Makefile +++ b/package/mtd/src/Makefile @@ -1,6 +1,10 @@ CC = gcc CFLAGS += -Wall -mtd: mtd.o jffs2.o crc32.o +obj = mtd.o jffs2.o crc32.o +obj.brcm = trx.o +obj.brcm47xx = $(obj.brcm) + +mtd: $(obj) $(obj.$(TARGET)) clean: rm -f *.o jffs2 -- cgit v1.2.3