Kbuild: Fix OSLEC build error

Fixes up the kbuild to work with compiling OSLEC from the kernel source. See
HOWTO here: http://forums.digium.com/viewtopic.php?t=67164

Internal-Issue-ID: DAHLIN-317
Reported-By: Vladimir Mikhelson
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
(cherry picked from commit f09daed735)
This commit is contained in:
Russ Meyerriecks 2013-03-13 16:26:42 -05:00
parent dea3d9cbd6
commit 281105548c

View File

@ -38,7 +38,7 @@ obj-m += $(DAHDI_MODULES_EXTRA)
# well:
ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
obj-m += dahdi_echocan_oslec.o
obj-m += ../staging/echo/
obj-m += ../staging/echo/echo.o
endif
CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src)