[zaptel-commits] trunk r1133 - /trunk/Makefile
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue Jun 20 03:02:10 MST 2006
Author: kpfleming
Date: Tue Jun 20 05:02:09 2006
New Revision: 1133
URL: http://svn.digium.com/view/zaptel?rev=1133&view=rev
Log:
support 2.4 kernel builds for new wct4xxp driver
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?rev=1133&r1=1132&r2=1133&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Jun 20 05:02:09 2006
@@ -181,8 +181,6 @@
tests: patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
-wct4xxp.o: wct4xxp_base.c vpm450m.c
-
tor2.o: tor2-hw.h tor2fw.h
zaptel.o: digits.h arith.h sec.h mec.h sec-2.h mec2.h mec3.h zconfig.h
@@ -201,8 +199,14 @@
ztdummy.o: ztdummy.h
-$(MODULESO): %.o: %.c zaptel.h
- $(HOSTCC) $(KFLAGS) -o $@ -c $<
+$(filter-out wct4xxp.o,$(MODULESO)) wct4xxp_base.o: %.o: %.c zaptel.h
+ $(CC) $(KFLAGS) -o $@ -c $<
+
+vpm450m.o: vpm450m.c zaptel.h
+ $(CC) $(KFLAGS) -I$(PWD)/include -I$(PWD)/include/oct6100api -o $@ -c $<
+
+wct4xxp.o: wct4xxp_base.o vpm450m.o
+ $(LD) -r -o $@ wct4xxp_base.o vpm450m.o
tor2ee.o: tor2-hw.h
More information about the zaptel-commits
mailing list