summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2011-02-09 18:31:29 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2011-02-09 18:31:29 +0100
commit8098ef29ff863082e72c947d986371cb823a8151 (patch)
tree8cb76fb9cd92cbf8b925bf8b7f221d43c2c2b230
parent9dfb7ac46444e0662dcbce86642db60109c88bbd (diff)
add forgotten -DAUDIO in case XIVO_AUDIO=1 in xhfc/Makefile
-rw-r--r--xhfc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/xhfc/Makefile b/xhfc/Makefile
index 4940c92..766d39d 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
+ifeq (1,$(XIVO_AUDIO))
+CFLAGS_MODULE += -DAUDIO
+endif
obj-m := xivoxhfc.o
xivoxhfc-objs := base.o xhfc_leb.o xhfc_st_state.o