diff options
Diffstat (limited to 'tdm/Makefile')
-rw-r--r-- | tdm/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tdm/Makefile b/tdm/Makefile new file mode 100644 index 0000000..7393f89 --- /dev/null +++ b/tdm/Makefile @@ -0,0 +1,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 |