diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-10 18:12:27 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-10 18:12:27 +0000 |
commit | 9899bafe997a4e020f302c99a6e025b4e8b25191 (patch) | |
tree | 8a108b05d0f319c95ba83f1d5984ae261572bebf /xpp/Makefile | |
parent | 1d7d5b07325a186785b22abf09ff531dfc2edd54 (diff) |
xpp.r5254:
* Improved polarity reversal hangups in FXO (r5194).
Fixed false detection of polarity reversals.
* Optimize xframe allocation, by not zeroing the whole
memory (in get_xframe()).
* Fixed erronous error message that appeared sometimes
from fpga_load during USB renumeration.
* Zaptel::Chans now provides battery() reporting for some FXO
channels (Astribank FXO and wcfxo).
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3643 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/Makefile')
-rw-r--r-- | xpp/Makefile | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/xpp/Makefile b/xpp/Makefile deleted file mode 100644 index bde055e..0000000 --- a/xpp/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -ifdef SUBDIRS - ZAPTEL_DIR = $(SUBDIRS) -else - ZAPTEL_DIR = $(M) -endif - -EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \ - -I$(ZAPTEL_DIR) \ - -DDEBUG \ - -DPOLL_DIGITAL_INPUTS \ - -DWITH_ECHO_SUPPRESSION \ - -DDEBUG_PCMTX \ - -DPROTOCOL_DEBUG \ - -g - # - -ifneq (,$(shell grep -w echo_can_state_t $(ZAPTEL_DIR)/zaptel.h)) -EXTRA_CFLAGS += -DZAPTEL_EC_TYPEDEF -endif - -obj-m += xpp.o xpd_fxs.o xpd_fxo.o xpd_pri.o - -HAS_BRISTUFF := $(shell cpp $(CPPFLAGS) -dM $(ZAPTEL_DIR)/zconfig.h | sed -n 's/^.*CONFIG_ZAPATA_BRI_DCHANS/y/p') - -# Build only supported modules -ifneq (,$(filter y m,$(CONFIG_USB))) -obj-m += xpp_usb.o -endif -ifneq (,$(HAS_BRISTUFF)) -obj-m += xpd_bri.o -endif - -xpp-y += xbus-core.o xbus-sysfs.o xbus-pcm.o xframe_queue.o xpp_zap.o xproto.o card_global.o -xpd_fxs-y += card_fxs.o -xpd_fxo-y += card_fxo.o -xpd_bri-y += card_bri.o -xpd_pri-y += card_pri.o - -ifeq (y,$(PARPORT_DEBUG)) -EXTRA_CFLAGS += -DDEBUG_SYNC_PARPORT -obj-m += parport_debug.o -endif - -ctags: - ctags *.[ch] - -# Handle versioning -XPP_VERSION_STR ?= $(shell if [ -r $(obj)/.version ]; then echo "\"`cat $(obj)/.version`\""; else echo '"Unknown"'; fi) -clean-files := xpp_version.h - -$(obj)/card_fxs.o $(obj)/card_fxo.o $(obj)/card_bri.o $(obj)/card_pri.o $(obj)/xpp_usb.o $(obj)/xpp.o: $(obj)/xpp_version.h - -$(obj)/xpp_version.h: FORCE - $(Q)echo '#define XPP_VERSION $(XPP_VERSION_STR)' > $@.tmp - $(Q)if cmp -s $@.tmp $@ ; then echo; else \ - mv $@.tmp $@ ; \ - fi - $(Q)rm -f $@.tmp - -.PHONY: FORCE -FORCE: |