summaryrefslogtreecommitdiff
path: root/drivers/dahdi/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/Kbuild')
-rw-r--r--drivers/dahdi/Kbuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild
index 6ad4a28..7b1c2f9 100644
--- a/drivers/dahdi/Kbuild
+++ b/drivers/dahdi/Kbuild
@@ -2,9 +2,12 @@ ifdef ECHO_CAN_NAME
ECHO_CAN_CFLAGS := -DECHO_CAN_FROMENV -DECHO_CAN_$(ECHO_CAN_NAME)
endif
-obj-m := $(KBUILD_OBJ_M)
+obj-m := pciradio.o tor2.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o
+obj-m += wct4xxp/ wctc4xxp/ wctdm24xxp/ wcte12xp/
-EXTRA_CFLAGS := -I$(src) -DSTANDALONE_ZAPATA
+CFLAGS_MODULE += -I$(DAHDI_INCLUDE)
+
+EXTRA_CFLAGS += -I$(src)
EXTRA_CFLAGS += $(ECHO_CAN_CFLAGS)
# fix typo present in CentOS and RHEL 2.6.9 kernels