summaryrefslogtreecommitdiff
path: root/xpp/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/Kbuild')
-rw-r--r--xpp/Kbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/xpp/Kbuild b/xpp/Kbuild
index 9ec225f..ca05049 100644
--- a/xpp/Kbuild
+++ b/xpp/Kbuild
@@ -1,11 +1,11 @@
ifdef SUBDIRS
- ZAPTEL_DIR = $(SUBDIRS)
+ ZAP_KERNEL = $(SUBDIRS)
else
- ZAPTEL_DIR = $(M)
+ ZAP_KERNEL = $(M)
endif
EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
- -I$(ZAPTEL_DIR) \
+ -I$(ZAP_KERNEL) \
-DDEBUG \
-DPOLL_DIGITAL_INPUTS \
-DWITH_ECHO_SUPPRESSION \
@@ -14,13 +14,13 @@ EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
-g
#
-ifneq (,$(shell grep -w echo_can_state_t $(ZAPTEL_DIR)/zaptel.h))
+ifneq (,$(shell grep -w echo_can_state_t $(ZAP_KERNEL)/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')
+HAS_BRISTUFF := $(shell cpp $(CPPFLAGS) -dM $(ZAP_KERNEL)/zconfig.h | sed -n 's/^.*CONFIG_ZAPATA_BRI_DCHANS/y/p')
# Build only supported modules
ifneq (,$(filter y m,$(CONFIG_USB)))