summaryrefslogtreecommitdiff
path: root/xhfc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xhfc/Makefile')
-rw-r--r--xhfc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/xhfc/Makefile b/xhfc/Makefile
index 558c296..63b3a7f 100644
--- a/xhfc/Makefile
+++ b/xhfc/Makefile
@@ -2,8 +2,14 @@ PWD := $(shell pwd)
KSRC ?= /bad__ksrc__not_set
DAHDI_INCLUDE ?= /bad__dahdi_include__not_set
+DAHDI_SYMVERS ?= /bad__dahdi_symvers__not_set
+
CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(abspath $(src)/../) -DUSE_GPIO -DAUDIO
+KBUILD_EXTRA_SYMBOLS += $(DAHDI_SYMVERS) \
+ $(src)/../gpio/Module.symvers \
+ $(src)/../tdm/Module.symvers
+
ifeq (1,$(XIVO_AUDIO))
CFLAGS_MODULE += -DAUDIO
endif