summaryrefslogtreecommitdiff
path: root/package/mtd/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-23 09:23:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-23 09:23:58 +0000
commitbbd9eb4669fa5ea124c386e0ba2c680124fa77b5 (patch)
tree6ee0c0e657c4e8a0aa03ec87e30a4670bf4a2b36 /package/mtd/src/Makefile
parent6ce27efe7365b13c786c773d119c8b72f6c175cc (diff)
downloadmtk-20170518-bbd9eb4669fa5ea124c386e0ba2c680124fa77b5.zip
mtk-20170518-bbd9eb4669fa5ea124c386e0ba2c680124fa77b5.tar.gz
mtk-20170518-bbd9eb4669fa5ea124c386e0ba2c680124fa77b5.tar.bz2
clean up mtd, fix up trx header when integrating jffs2 data on broadcom devices
SVN-Revision: 12655
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 5ab7d7b..68a632d 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