blob: 49f076974cfb7c0f47f586b566cddede3c302b79 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/drivers/dahdi/Kbuild
2+++ b/drivers/dahdi/Kbuild
3@@ -54,9 +54,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