mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-02 01:52:15 +08:00

This compiles with newer kernels now. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
14 lines
509 B
Diff
14 lines
509 B
Diff
--- a/drivers/dahdi/Kbuild
|
|
+++ b/drivers/dahdi/Kbuild
|
|
@@ -64,9 +64,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) -Wno-format-truncation
|