telephony/libs/dahdi-linux/patches/003-fix-oslec-build.patch
Daniel Golle 6a5771b9e3 dahdi-linux: fix oslec build
Depend on kmod-echo rather than building echo.ko as a part of
kmod-dahdi-echo-oslec.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-03-31 23:47:12 +02:00

15 lines
646 B
Diff

Index: dahdi-linux-2.10.0.1/drivers/dahdi/Kbuild
===================================================================
--- dahdi-linux-2.10.0.1.orig/drivers/dahdi/Kbuild
+++ dahdi-linux-2.10.0.1/drivers/dahdi/Kbuild
@@ -61,9 +61,8 @@ obj-m += $(DAHDI_MODULES_EXTRA)
# If you want to build OSLEC, include the code in the standard location:
# drivers/staging/echo . The DAHDI OSLEC echo canceller will be built as
# well:
-ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
+ifneq (,$(wildcard $(src)/../staging/echo/oslec.h))
obj-m += dahdi_echocan_oslec.o
-obj-m += ../staging/echo/echo.o
endif
CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src)