summaryrefslogtreecommitdiff
path: root/xhfc
diff options
context:
space:
mode:
Diffstat (limited to 'xhfc')
-rw-r--r--xhfc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/xhfc/Makefile b/xhfc/Makefile
index 346544d..558c296 100644
--- a/xhfc/Makefile
+++ b/xhfc/Makefile
@@ -4,6 +4,9 @@ KSRC ?= /bad__ksrc__not_set
DAHDI_INCLUDE ?= /bad__dahdi_include__not_set
CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(abspath $(src)/../) -DUSE_GPIO -DAUDIO
+ifeq (1,$(XIVO_AUDIO))
+CFLAGS_MODULE += -DAUDIO
+endif
obj-m := xivoxhfc.o
xivoxhfc-objs := base.o xhfc_leb.o xhfc_st_state.o