blob: 7393f896a27bf146c200c25e9a526f9735a3a4f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PWD := $(shell pwd)
KSRC ?= /bad__ksrc__not_set
ICP_ROOT ?= /bad__icp_root___not_set
include $(ICP_ROOT)/build_system/build_files/includes.mk
# XXX This is an ugly evil hack, but this is probably the only way to build
# against Intel code without killing myself because of depression induced by
# their overcomplicated makefile mess (which BTW is buggy anyway, and has most
# probably been written under influence of much illegal drugs -- i don't have
# that kind of drugs available)
CFLAGS_MODULE += -O2 -DENABLE_IOMEM -DENABLE_BUFFERMGT
CFLAGS_MODULE += $(INCLUDES)
CFLAGS_MODULE += -DEP805XX -D__ep805xx -DTOLAPAI -D__tolapai \
-DIX_HW_COHERENT_MEMORY=1
obj-m := xivo_tdm.o
modules:
modules modules_install clean:
$(MAKE) -C $(KSRC) M=$(PWD) $@
distclean: clean
rm -f Module.symvers
|