summaryrefslogtreecommitdiffstats
path: root/package/platform/lantiq/ltq-vdsl-fw/src/Makefile
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-14 18:43:29 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-14 18:43:29 +0000
commita024efd187f91c8ec1b21877fbf94b0e2669dc3a (patch)
tree9fa42d380ed811b022ed7ac318cbe6a3f5111b3d /package/platform/lantiq/ltq-vdsl-fw/src/Makefile
parentd976e465050f63765dedf6c2e53ae983adecbb8c (diff)
[lantiq] add vdsl firmware loader/cutter
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36025 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..2d50aaf02
--- /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 $@