summaryrefslogtreecommitdiff
path: root/xpp/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-06 13:47:05 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-06 13:47:05 +0000
commit39a1812c1ef76b6a792f00087f1e507616bbbb25 (patch)
treee50633c999779c514ef16f4a2ce7a70fc7511c9e /xpp/Makefile
parent70ef1183eba2d2fe4f00668fd3438b7f1c842c94 (diff)
Tons of updates to the Astribank (xpp) driver:
* xpd_fxo.ko (FXO span) is now operational * Remove obsolete .inc initialization files (we use user-space init) * Added an install target to the utils dir. * Updated README.Astribank accordingly. * Using RBS signalling, as caller ID did not work well otherwise. * Better handling of USB protocol errors. * Fixed some procfs-related races. * per-card-module ioctls. * fxotune support. * opermode support (set through /etc/default/zaptel for now) * Userspace initialization script can also read registers. * Power calibration works (and implemented in perl) * some fine-tuning to the regster initialization parameters. * Leds turn on before registration and turn off after it. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1204 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/Makefile')
-rw-r--r--xpp/Makefile29
1 files changed, 4 insertions, 25 deletions
diff --git a/xpp/Makefile b/xpp/Makefile
index 1355cc6..6b32add 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -1,30 +1,9 @@
-EXTRA_CFLAGS = -I$(SUBDIRS) -DDEBUG -DWITH_ECHO_SUPPRESSION # -DHARD_CODED_INIT # -DOLD_CARD # -DWITH_RBS
+EXTRA_CFLAGS = -I$(SUBDIRS) -DDEBUG -DPOLL_DIGITAL_INPUTS -DWITH_ECHO_SUPPRESSION -DWITH_RBS -DSTANDALONE_ZAPATA
-obj-m = xpp.o xpd_fxs.o xpd_fxo.o xpp_usb.o
+obj-m = xpp.o xpp_usb.o xpd_fxs.o xpd_fxo.o
xpp-y += xbus-core.o xpp_zap.o xproto.o card_global.o
xpd_fxs-y += card_fxs.o slic.o
xpd_fxo-y += card_fxo.o slic.o
-GENERATE_INIT_DATA := 1
-INIT_DATA = init_data_3_19.inc init_data_3_20.inc init_data_4_19.inc init_data_4_20.inc
-clean-files := $(INIT_DATA)
-
-cmd2inc=$(src)/cmd2inc
-
-define run_cmd2inc
-if [ ! -x $(cmd2inc) ]; then chmod +x $(cmd2inc); fi
-$(cmd2inc) $^ $@
-endef
-
-ifeq ($(GENERATE_INIT_DATA),1)
-
-$(obj)/%.inc: $(src)/%.cmd
- @echo "Generating $@"
- @$(run_cmd2inc)
-
-init_data: $(INIT_DATA)
-
-$(obj)/card_fxs.o: $(obj)/init_data_3_19.inc $(obj)/init_data_3_20.inc
-$(obj)/card_fxo.o: $(obj)/init_data_4_19.inc $(obj)/init_data_4_20.inc
-
-endif
+ctags:
+ ctags *.[ch]