dahdi-linux: bump to latest git head
[feed/telephony.git] / libs / dahdi-linux / patches / 003-fix-oslec-build.patch
1 --- a/drivers/dahdi/Kbuild
2 +++ b/drivers/dahdi/Kbuild
3 @@ -64,9 +64,8 @@ obj-m += $(DAHDI_MODULES_EXTRA)
4 # If you want to build OSLEC, include the code in the standard location:
5 # drivers/staging/echo . The DAHDI OSLEC echo canceller will be built as
6 # well:
7 -ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
8 +ifneq (,$(wildcard $(src)/../staging/echo/oslec.h))
9 obj-m += dahdi_echocan_oslec.o
10 -obj-m += ../staging/echo/echo.o
11 endif
12
13 CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src) -Wno-format-truncation