wct4xxp, wcte13xp: Move the octasic DSP code into separate module.
The octasic library is relatively large and is currently separately linked into both the wcte13xp and wct4xxp libraries. This change moves it out into a separate loadable module. The bigest change from the drivers perspectives is that they must provide a table of callbacks instead of using statically linked Oct6100UserXxxxx functions to allow the library to communicate with actual parts on the cards. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
9
Makefile
9
Makefile
@@ -82,7 +82,7 @@ include/dahdi/version.h: FORCE
|
||||
fi
|
||||
@rm -f $@.tmp
|
||||
|
||||
prereq: include/dahdi/version.h firmware-loaders oct612x-lib
|
||||
prereq: include/dahdi/version.h firmware-loaders
|
||||
|
||||
stackcheck: $(CHECKSTACK) modules
|
||||
objdump -d drivers/dahdi/*.ko drivers/dahdi/*/*.ko | $(CHECKSTACK)
|
||||
@@ -118,13 +118,6 @@ uninstall-firmware:
|
||||
firmware-loaders:
|
||||
$(MAKE) -C drivers/dahdi/firmware firmware-loaders
|
||||
|
||||
oct612x-lib:
|
||||
ifeq (no,$(HAS_KSRC))
|
||||
@echo "You do not appear to have the sources for the $(KVERS) kernel installed."
|
||||
@exit 1
|
||||
endif
|
||||
$(MAKE) -C $(KSRC) M='$(PWD)/drivers/dahdi/oct612x'
|
||||
|
||||
install-include:
|
||||
for hdr in $(INST_HEADERS); do \
|
||||
install -D -m 644 include/dahdi/$$hdr $(DESTDIR)/usr/include/dahdi/$$hdr; \
|
||||
|
||||
Reference in New Issue
Block a user