b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- 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 |