summaryrefslogtreecommitdiff
path: root/xpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/Makefile')
-rw-r--r--xpp/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/xpp/Makefile b/xpp/Makefile
index 2bc621a..699aa34 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -1,19 +1,24 @@
ZAPTEL_DIR = $(SUBDIRS)
EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
- -g3 -I$(ZAPTEL_DIR) \
+ -I$(ZAPTEL_DIR) \
-DDEBUG \
-DPOLL_DIGITAL_INPUTS \
-DWITH_ECHO_SUPPRESSION \
- -DPROTOCOL_DEBUG
+ -DPROTOCOL_DEBUG \
+ -DWITH_METERING \
+ -DDEBUG_PCMTX \
+ -DPROTOCOL_DEBUG \
+ -g
+ #
ifneq (,$(shell grep -w echo_can_state_t $(ZAPTEL_DIR)/zaptel.h))
-EXTRA_CFLAGS += -DZAPTEL_EC_TYPEDEF
+EXTRA_CFLAGS += -DZAPTEL_EC_TYPEDEF
endif
obj-m += xpp.o xpd_fxs.o xpd_fxo.o
-HAS_BRISTUFF := $(shell cpp $(CPPFLAGS) -dM $(ZAPTEL_DIR)/zconfig.h | sed -n 's/^.*CONFIG_ZAPATA_BRI_DCHANS/y/p')
+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)))