summaryrefslogtreecommitdiff
path: root/wct4xxp/Makefile.kernel26
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-23 23:57:10 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-23 23:57:10 +0000
commitdf1e7f7b0470bd759c9687eeffdcbeee02778008 (patch)
treefbd777063821d50d81aeb1ed0999f4eb6cfd1671 /wct4xxp/Makefile.kernel26
parente30d85766ea8d6b623f0964cbf8129c6c7700462 (diff)
partial update to support all the stuff that went into Zaptel 1.2 recently... this definitely still broken for 2.4 kernels, and maybe for 2.6 as well :-)
includes: Makefile split and reorganize TE120P driver TC400B driver HPEC support (not yet complete) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2215 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp/Makefile.kernel26')
-rw-r--r--wct4xxp/Makefile.kernel2621
1 files changed, 21 insertions, 0 deletions
diff --git a/wct4xxp/Makefile.kernel26 b/wct4xxp/Makefile.kernel26
new file mode 100644
index 0000000..105ca73
--- /dev/null
+++ b/wct4xxp/Makefile.kernel26
@@ -0,0 +1,21 @@
+obj-m += wct4xxp.o
+
+EXTRA_CFLAGS := -I$(src)/.. $(shell $(src)/../oct612x/octasic-helper cflags $(src)/../oct612x) -Wno-undef
+
+wct4xxp-objs := base.o vpm450m.o $(shell $(src)/../oct612x/octasic-helper objects ../oct612x)
+
+ifneq ($(HOTPLUG_FIRMWARE),yes)
+wct4xxp-objs += ../firmware/zaptel-fw-oct6114-064.o ../firmware/zaptel-fw-oct6114-128.o
+endif
+
+$(obj)/../firmware/zaptel-fw-oct6114-064.o: $(obj)/base.o
+ $(MAKE) -C $(obj)/../firmware zaptel-fw-oct6114-064.o
+
+$(obj)/../firmware/zaptel-fw-oct6114-128.o: $(obj)/base.o
+ $(MAKE) -C $(obj)/../firmware zaptel-fw-oct6114-128.o
+
+$(obj)/base.o: $(src)/vpm450m.h $(src)/wct4xxp.h
+$(obj)/base.o: $(src)/../zaptel.h
+
+$(obj)/vpm450m.o: $(src)/vpm450m.h
+$(obj)/vpm450m.o: $(src)/../oct612x/include/oct6100api/oct6100_api.h