summaryrefslogtreecommitdiff
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-23 09:23:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-23 09:23:58 +0000
commit82cd54f3ea9325bbd7958526f261ef6121896270 (patch)
tree9325e10dcc4f826fab1654b86a4e57c90ddb189b /package/mtd/src/Makefile
parent5f8749031e0b989876b1b1a8e6537d623f88394b (diff)
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
Diffstat (limited to 'package/mtd/src/Makefile')
-rw-r--r--package/mtd/src/Makefile6
1 files changed, 5 insertions, 1 deletions
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