summaryrefslogtreecommitdiff
path: root/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-14 18:43:29 +0000
committerJohn Crispin <john@openwrt.org>2013-03-14 18:43:29 +0000
commitc876ae5e0f1bfc8ec3231ae1229e30610e9a21dd (patch)
tree9e850dc572e7d745fab34a25afd20203e2e8771a /package/platform/lantiq/ltq-vdsl-fw/src/Makefile
parentef93053696509cfcc984f94a197526c40c264503 (diff)
downloadmtk-20170518-c876ae5e0f1bfc8ec3231ae1229e30610e9a21dd.zip
mtk-20170518-c876ae5e0f1bfc8ec3231ae1229e30610e9a21dd.tar.gz
mtk-20170518-c876ae5e0f1bfc8ec3231ae1229e30610e9a21dd.tar.bz2
add vdsl firmware loader/cutter
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36025
Diffstat (limited to 'package/platform/lantiq/ltq-vdsl-fw/src/Makefile')
-rw-r--r--package/platform/lantiq/ltq-vdsl-fw/src/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/platform/lantiq/ltq-vdsl-fw/src/Makefile b/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
new file mode 100644
index 0000000..2d50aaf
--- /dev/null
+++ b/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
@@ -0,0 +1,13 @@
+PROG=w921v_fw_cutter
+OBJS=w921v_fw_cutter.c LzmaDecode.c LzmaWrapper.c
+
+all: $(PROG)
+
+$(PROG): $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
+
+clean:
+ rm *.o $(PROG)
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c $^ -o $@