summaryrefslogtreecommitdiff
path: root/xpp/oct612x/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-10 16:10:32 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-10 16:10:32 +0000
commit94f5ca620248b21b13763d4d1838c6a45e2e9165 (patch)
treec72046ffa95db8507e099ac1baeb08ebc2d867fe /xpp/oct612x/Makefile
parente3ca2c7191cb75017a7c51191efe624454f0a8b2 (diff)
xpp: A copy of oct612x in dahdi-tools
Include a copy of the oct612x Octasic echo canceller interface to be used by astribank_hexload to load the echo canceller firmware to a Xorcom Astribank. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10030 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/oct612x/Makefile')
-rw-r--r--xpp/oct612x/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/xpp/oct612x/Makefile b/xpp/oct612x/Makefile
new file mode 100644
index 0000000..e3e32e5
--- /dev/null
+++ b/xpp/oct612x/Makefile
@@ -0,0 +1,38 @@
+CFLAGS=-V3.4 -ffunction-sections -I/lib/modules/$(shell uname -r)/build/include -Iinclude -Ioctdeviceapi -Ioctdeviceapi/oct6100api -DGFP_ATOMIC=0 -Dkmalloc=calloc -Dkfree=free
+LDFLAGS=-V3.4 -Wl,-Map -Wl,test.map -Wl,--gc-sections
+
+APIDIR=octdeviceapi/oct6100api/oct6100_api
+
+OCTASIC_OBJS=$(APIDIR)/oct6100_adpcm_chan.o \
+ $(APIDIR)/oct6100_channel.o \
+ $(APIDIR)/oct6100_chip_open.o \
+ $(APIDIR)/oct6100_chip_stats.o \
+ $(APIDIR)/oct6100_conf_bridge.o \
+ $(APIDIR)/oct6100_debug.o \
+ $(APIDIR)/oct6100_events.o \
+ $(APIDIR)/oct6100_interrupts.o \
+ $(APIDIR)/oct6100_memory.o \
+ $(APIDIR)/oct6100_miscellaneous.o \
+ $(APIDIR)/oct6100_mixer.o \
+ $(APIDIR)/oct6100_phasing_tsst.o \
+ $(APIDIR)/oct6100_playout_buf.o \
+ $(APIDIR)/oct6100_remote_debug.o \
+ $(APIDIR)/oct6100_tlv.o \
+ $(APIDIR)/oct6100_tone_detection.o \
+ $(APIDIR)/oct6100_tsi_cnct.o \
+ $(APIDIR)/oct6100_tsst.o \
+ $(APIDIR)/oct6100_user.o \
+ apilib/bt/octapi_bt0.o \
+ apilib/largmath/octapi_largmath.o \
+ apilib/llman/octapi_llman.o
+
+
+all: test
+
+test.o: test.c
+
+test: test.o $(OCTASIC_OBJS)
+
+clean:
+ rm -rf test test.o
+ rm -rf $(OCTASIC_OBJS)