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>
This commit is contained in:
Russ Meyerriecks 2013-03-13 16:26:42 -05:00
parent 7714d5d94e
commit f09daed735

View File

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