summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/Kbuild')
-rw-r--r--drivers/dahdi/xpp/Kbuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/dahdi/xpp/Kbuild b/drivers/dahdi/xpp/Kbuild
index 376f592..f47edf0 100644
--- a/drivers/dahdi/xpp/Kbuild
+++ b/drivers/dahdi/xpp/Kbuild
@@ -14,13 +14,9 @@ EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
-g
#
-ifneq (,$(shell grep -w echo_can_state_t $(ZAP_KERNEL)/dahdi.h))
-EXTRA_CFLAGS += -DZAPTEL_EC_TYPEDEF
-endif
-
obj-m += xpp.o xpd_fxs.o xpd_fxo.o xpd_pri.o
-HAS_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/zconfig.h)
+HAS_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/dahdi_config.h)
# Build only supported modules
ifneq (,$(filter y m,$(CONFIG_USB)))