summaryrefslogtreecommitdiff
path: root/xhfc/Makefile
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-02-01 17:59:53 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-02-01 17:59:53 +0100
commit0e7486d3eff5dfb00de73d7a1e4cd098559d2c60 (patch)
tree3cfe6afb0585a1038b88b391cc4b3369a2fa54a9 /xhfc/Makefile
parent5f609455bd9701cc52ccd8ddf5508664c1b25695 (diff)
cleanup and add xhfc pnp device
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