From 8098ef29ff863082e72c947d986371cb823a8151 Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Wed, 9 Feb 2011 18:31:29 +0100 Subject: add forgotten -DAUDIO in case XIVO_AUDIO=1 in xhfc/Makefile --- xhfc/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xhfc/Makefile') 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 -- cgit v1.2.3