[dahdi-commits] tzafrir: linux/trunk r4781 - in /linux/trunk: ./ drivers/dahdi/xpp/firmwares/

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Aug 14 14:15:41 CDT 2008


Author: tzafrir
Date: Thu Aug 14 14:15:41 2008
New Revision: 4781

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4781
Log:
Also install Astribank firmwares and init scripts to /usr/share/dahdi .

Added:
    linux/trunk/drivers/dahdi/xpp/firmwares/Makefile   (with props)
Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.digium.com/view/dahdi/linux/trunk/Makefile?view=diff&rev=4781&r1=4780&r2=4781
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Thu Aug 14 14:15:41 2008
@@ -92,7 +92,7 @@
 stackcheck: checkstack modules
 	./checkstack kernel/*.ko kernel/*/*.ko
 
-install: all install-modules install-devices install-include install-firmware
+install: all install-modules install-devices install-include install-firmware install-xpp-firm
 	@echo "###################################################"
 	@echo "###"
 	@echo "### DAHDI installed successfully."
@@ -108,6 +108,9 @@
 	@if [ -d /etc/modutils ]; then \
 		/sbin/update-modules ; \
 	fi
+
+install-xpp-firm:
+	$(MAKE) -C drivers/dahdi/xpp/firmwares install
 
 install-firmware:
 ifeq ($(HOTPLUG_FIRMWARE),yes)
@@ -225,6 +228,6 @@
 test:
 	./test-script $(DESTDIR)/lib/modules/$(KVERS) dahdi
 
-.PHONY: distclean dist-clean clean all install devices modules stackcheck install-udev update install-modules install-include uninstall-modules firmware-download
+.PHONY: distclean dist-clean clean all install devices modules stackcheck install-udev update install-modules install-include uninstall-modules firmware-download install-xpp-firm
 
 FORCE:

Added: linux/trunk/drivers/dahdi/xpp/firmwares/Makefile
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/firmwares/Makefile?view=auto&rev=4781
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/firmwares/Makefile (added)
+++ linux/trunk/drivers/dahdi/xpp/firmwares/Makefile Thu Aug 14 14:15:41 2008
@@ -1,0 +1,18 @@
+# Install firmwares and initialization scripts for the Astribank
+# drivers
+
+FIRMWARES	= USB_FW.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex
+PROTO_VER	= 30
+SCRIPTS_BASE	= $(patsubst %,init_card_%_$(PROTO_VER),1 2 3 4)
+SCRIPTS		= $(SCRIPTS_BASE:%=../%)
+TARGET		= $(DESTDIR)/usr/share/dahdi
+
+all:
+
+clean:
+
+install:
+	mkdir -p $(TARGET)
+	install $(SCRIPTS) $(TARGET)/
+	install -m 644 ../XppConfig.pm $(FIRMWARES) $(TARGET)/
+

Propchange: linux/trunk/drivers/dahdi/xpp/firmwares/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: linux/trunk/drivers/dahdi/xpp/firmwares/Makefile
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: linux/trunk/drivers/dahdi/xpp/firmwares/Makefile
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the dahdi-commits mailing list